diff options
author | Joel Sing <jsing@cvs.openbsd.org> | 2015-09-10 15:56:27 +0000 |
---|---|---|
committer | Joel Sing <jsing@cvs.openbsd.org> | 2015-09-10 15:56:27 +0000 |
commit | 4b185770bb48b33b3458575b4dd273d9e9e5b60a (patch) | |
tree | fdb63280eeb935a98b2cf72fae41e177686c15ea /lib/libcrypto/rsa/rsa_eay.c | |
parent | 3a518e4ad573c57d1cc478fe3257cbd80f7098fc (diff) |
Correct spelling of OPENSSL_cleanse.
ok miod@
Diffstat (limited to 'lib/libcrypto/rsa/rsa_eay.c')
-rw-r--r-- | lib/libcrypto/rsa/rsa_eay.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/lib/libcrypto/rsa/rsa_eay.c b/lib/libcrypto/rsa/rsa_eay.c index 940964cac30..76863e7220e 100644 --- a/lib/libcrypto/rsa/rsa_eay.c +++ b/lib/libcrypto/rsa/rsa_eay.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rsa_eay.c,v 1.39 2015/06/13 08:38:10 doug Exp $ */ +/* $OpenBSD: rsa_eay.c,v 1.40 2015/09/10 15:56:25 jsing Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -110,6 +110,7 @@ */ #include <stdio.h> +#include <string.h> #include <openssl/opensslconf.h> @@ -242,7 +243,7 @@ err: BN_CTX_free(ctx); } if (buf != NULL) { - OPENSSL_cleanse(buf, num); + explicit_bzero(buf, num); free(buf); } return r; @@ -472,7 +473,7 @@ err: BN_CTX_free(ctx); } if (buf != NULL) { - OPENSSL_cleanse(buf, num); + explicit_bzero(buf, num); free(buf); } return r; @@ -607,7 +608,7 @@ err: BN_CTX_free(ctx); } if (buf != NULL) { - OPENSSL_cleanse(buf, num); + explicit_bzero(buf, num); free(buf); } return r; @@ -712,7 +713,7 @@ err: BN_CTX_free(ctx); } if (buf != NULL) { - OPENSSL_cleanse(buf, num); + explicit_bzero(buf, num); free(buf); } return r; |