Fix couple of ANSI declarations and prototypes
authorDr. Stephen Henson <steve@openssl.org>
Wed, 10 Mar 1999 18:30:48 +0000 (18:30 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Wed, 10 Mar 1999 18:30:48 +0000 (18:30 +0000)
CHANGES
crypto/des/ede_cbcm_enc.c
crypto/evp/evp.h

diff --git a/CHANGES b/CHANGES
index 1e84e49..95a0bd2 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -8,7 +8,9 @@
   *) Fix Makefile.org so CC,CFLAG etc are passed to 'make links' add
      advapi32.lib to Win32 build and change the pem test comparision
      to fc.exe (thanks to Ulrich Kroener <kroneru@yahoo.com> for the
-     suggestion).
+     suggestion). Fix misplaced ASNI prototypes and declarations in evp.h
+     and crypto/des/ede_cbcm_enc.c.
+     [Steve Henson]
 
   *) DES quad checksum was broken on big-endian architectures. Fixed.
      [Ben Laurie]
index 41890df..caaf6da 100644 (file)
@@ -70,12 +70,16 @@ http://www.cs.technion.ac.il/users/wwwb/cgi-bin/tr-get.cgi/1998/CS/CS0928.ps.gz
 
 #include "des_locl.h"
 
-void des_ede3_cbcm_encrypt(const unsigned char *in,unsigned char *out,
-                          long length,
-                          des_key_schedule ks1,des_key_schedule ks2,
-                          des_key_schedule ks3,
-                          des_cblock ivec1,des_cblock ivec2,
-                          int enc)
+void des_ede3_cbcm_encrypt(in, out, length, ks1, ks2, ks3, ivec1, ivec2, enc)
+const unsigned char *in;
+unsigned char *out;
+long length;
+des_key_schedule ks1;
+des_key_schedule ks2;
+des_key_schedule ks3;
+des_cblock ivec1;
+des_cblock ivec2;
+int enc;
     {
     register DES_LONG tin0,tin1;
     register DES_LONG tout0,tout1,xor0,xor1,m0,m1;
index 2655acd..3aad7d1 100644 (file)
@@ -765,8 +765,8 @@ int EVP_PKEY_missing_parameters();
 int EVP_PKEY_save_parameters();
 int EVP_PKEY_cmp_parameters();
 
-int EVP_CIPHER_param_to_asn1(EVP_CIPHER_CTX *c, ASN1_TYPE *type);
-int EVP_CIPHER_asn1_to_param(EVP_CIPHER_CTX *c, ASN1_TYPE *type);
+int EVP_CIPHER_param_to_asn1();
+int EVP_CIPHER_asn1_to_param();
 
 int EVP_CIPHER_set_asn1_iv();
 int EVP_CIPHER_get_asn1_iv();