summaryrefslogtreecommitdiff
path: root/lib/libcrypto/evp/p5_crpt2.c
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2015-09-10 15:56:27 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2015-09-10 15:56:27 +0000
commit4b185770bb48b33b3458575b4dd273d9e9e5b60a (patch)
treefdb63280eeb935a98b2cf72fae41e177686c15ea /lib/libcrypto/evp/p5_crpt2.c
parent3a518e4ad573c57d1cc478fe3257cbd80f7098fc (diff)
Correct spelling of OPENSSL_cleanse.
ok miod@
Diffstat (limited to 'lib/libcrypto/evp/p5_crpt2.c')
-rw-r--r--lib/libcrypto/evp/p5_crpt2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libcrypto/evp/p5_crpt2.c b/lib/libcrypto/evp/p5_crpt2.c
index afafb9551f8..632c2c76ce0 100644
--- a/lib/libcrypto/evp/p5_crpt2.c
+++ b/lib/libcrypto/evp/p5_crpt2.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: p5_crpt2.c,v 1.20 2015/02/14 15:49:51 miod Exp $ */
+/* $OpenBSD: p5_crpt2.c,v 1.21 2015/09/10 15:56:25 jsing Exp $ */
/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
* project 1999.
*/
@@ -300,7 +300,7 @@ PKCS5_v2_PBKDF2_keyivgen(EVP_CIPHER_CTX *ctx, const char *pass, int passlen,
rv = EVP_CipherInit_ex(ctx, NULL, NULL, key, NULL, en_de);
err:
- OPENSSL_cleanse(key, keylen);
+ explicit_bzero(key, keylen);
PBKDF2PARAM_free(kdf);
return rv;
}