diff options
| author | jsing <> | 2015-09-10 15:56:26 +0000 |
|---|---|---|
| committer | jsing <> | 2015-09-10 15:56:26 +0000 |
| commit | 647569a51c1530d10e75e272f0982682f696caa7 (patch) | |
| tree | 27c1922db8e3f519794fe6a13a1dfba3d4759090 /src/lib/libcrypto/asn1/a_verify.c | |
| parent | 82208d32389873dc0a35e1efb027536202112bf6 (diff) | |
| download | openbsd-647569a51c1530d10e75e272f0982682f696caa7.tar.gz openbsd-647569a51c1530d10e75e272f0982682f696caa7.tar.bz2 openbsd-647569a51c1530d10e75e272f0982682f696caa7.zip | |
Correct spelling of OPENSSL_cleanse.
ok miod@
Diffstat (limited to 'src/lib/libcrypto/asn1/a_verify.c')
| -rw-r--r-- | src/lib/libcrypto/asn1/a_verify.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/libcrypto/asn1/a_verify.c b/src/lib/libcrypto/asn1/a_verify.c index 3fc79b78f6..12b76501e0 100644 --- a/src/lib/libcrypto/asn1/a_verify.c +++ b/src/lib/libcrypto/asn1/a_verify.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: a_verify.c,v 1.21 2015/01/28 04:14:31 beck Exp $ */ | 1 | /* $OpenBSD: a_verify.c,v 1.22 2015/09/10 15:56:24 jsing Exp $ */ |
| 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
| 3 | * All rights reserved. | 3 | * All rights reserved. |
| 4 | * | 4 | * |
| @@ -59,6 +59,7 @@ | |||
| 59 | #include <sys/types.h> | 59 | #include <sys/types.h> |
| 60 | 60 | ||
| 61 | #include <stdio.h> | 61 | #include <stdio.h> |
| 62 | #include <string.h> | ||
| 62 | #include <time.h> | 63 | #include <time.h> |
| 63 | 64 | ||
| 64 | #include <openssl/bn.h> | 65 | #include <openssl/bn.h> |
| @@ -152,7 +153,7 @@ ASN1_item_verify(const ASN1_ITEM *it, X509_ALGOR *a, | |||
| 152 | goto err; | 153 | goto err; |
| 153 | } | 154 | } |
| 154 | 155 | ||
| 155 | OPENSSL_cleanse(buf_in, (unsigned int)inl); | 156 | explicit_bzero(buf_in, (unsigned int)inl); |
| 156 | free(buf_in); | 157 | free(buf_in); |
| 157 | 158 | ||
| 158 | if (EVP_DigestVerifyFinal(&ctx, signature->data, | 159 | if (EVP_DigestVerifyFinal(&ctx, signature->data, |
