summaryrefslogtreecommitdiffstats
path: root/crypto/evp/p5_crpt2.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2002-03-14 18:22:23 +0000
committerDr. Stephen Henson <steve@openssl.org>2002-03-14 18:22:23 +0000
commitde941e289e5d320d2e3258b0ebf71562830aaabc (patch)
tree082d81fe05a8c694a71a531dbe3eab7495773b17 /crypto/evp/p5_crpt2.c
parent1d2845352926df66db5798cfebf3784f6af59b8c (diff)
Initialize cipher context in KRB5
("D. Russell" <russelld@aol.net>) Allow HMAC functions to use an alternative ENGINE.
Diffstat (limited to 'crypto/evp/p5_crpt2.c')
-rw-r--r--crypto/evp/p5_crpt2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/evp/p5_crpt2.c b/crypto/evp/p5_crpt2.c
index 14cad73cde..7881860b53 100644
--- a/crypto/evp/p5_crpt2.c
+++ b/crypto/evp/p5_crpt2.c
@@ -100,7 +100,7 @@ int PKCS5_PBKDF2_HMAC_SHA1(const char *pass, int passlen,
itmp[1] = (unsigned char)((i >> 16) & 0xff);
itmp[2] = (unsigned char)((i >> 8) & 0xff);
itmp[3] = (unsigned char)(i & 0xff);
- HMAC_Init_ex(&hctx, pass, passlen, EVP_sha1());
+ HMAC_Init_ex(&hctx, pass, passlen, EVP_sha1(), NULL);
HMAC_Update(&hctx, salt, saltlen);
HMAC_Update(&hctx, itmp, 4);
HMAC_Final(&hctx, digtmp, NULL);