EVP_Digest() takes one more parameter.
authorRichard Levitte <levitte@openssl.org>
Tue, 10 Jul 2001 20:58:13 +0000 (20:58 +0000)
committerRichard Levitte <levitte@openssl.org>
Tue, 10 Jul 2001 20:58:13 +0000 (20:58 +0000)
crypto/rand/rand_lcl.h

index 44d7cbba673e4525e5ae00fcf8294f76a1328281..f81291b6dca30b4c463c6a3804e373cfe4b67202 100644 (file)
 #if defined(USE_MD5_RAND)
 #define MD_DIGEST_LENGTH       MD5_DIGEST_LENGTH
 #define MD_Init(a)             EVP_DigestInit(a,EVP_md5())
-#define        MD(a,b,c)               EVP_Digest(a,b,c,EVP_md5())
+#define        MD(a,b,c)               EVP_Digest(a,b,c,NULL,EVP_md5())
 #elif defined(USE_SHA1_RAND)
 #define MD_DIGEST_LENGTH       SHA_DIGEST_LENGTH
 #define MD_Init(a)             EVP_DigestInit(a,EVP_sha1())
-#define        MD(a,b,c)               EVP_Digest(a,b,c,EVP_sha1())
+#define        MD(a,b,c)               EVP_Digest(a,b,c,NULL,EVP_sha1())
 #elif defined(USE_MDC2_RAND)
 #define MD_DIGEST_LENGTH       MDC2_DIGEST_LENGTH
 #define MD_Init(a)             EVP_DigestInit(a,EVP_mdc2())
-#define        MD(a,b,c)               EVP_Digest(a,b,c,EVP_mdc2())
+#define        MD(a,b,c)               EVP_Digest(a,b,c,NULL,EVP_mdc2())
 #elif defined(USE_MD2_RAND)
 #define MD_DIGEST_LENGTH       MD2_DIGEST_LENGTH
 #define MD_Init(a)             EVP_DigestInit(a,EVP_md2())
-#define        MD(a,b,c)               EVP_Digest(a,b,c,EVP_md2())
+#define        MD(a,b,c)               EVP_Digest(a,b,c,NULL,EVP_md2())
 #endif