diff options
author | Richard Levitte <levitte@openssl.org> | 2002-12-10 08:26:10 +0000 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2002-12-10 08:26:10 +0000 |
commit | 2581aacd522ef6813ca8edf172c9a989cbba1478 (patch) | |
tree | f9e881b2af535a18c5227658cf7b6ff88b64a367 /crypto/x509 | |
parent | 533a0c4ce78ba80a202bf9de94ffc02da7ce3872 (diff) |
A memset() too many got converted into a OPENSSL_cleanse().
PR: 393
Diffstat (limited to 'crypto/x509')
-rw-r--r-- | crypto/x509/x509_vfy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/x509/x509_vfy.c b/crypto/x509/x509_vfy.c index 568c629367..552d1e7251 100644 --- a/crypto/x509/x509_vfy.c +++ b/crypto/x509/x509_vfy.c @@ -1158,7 +1158,7 @@ void X509_STORE_CTX_cleanup(X509_STORE_CTX *ctx) ctx->chain=NULL; } CRYPTO_free_ex_data(CRYPTO_EX_INDEX_X509_STORE_CTX, ctx, &(ctx->ex_data)); - OPENSSL_cleanse(&ctx->ex_data,sizeof(CRYPTO_EX_DATA)); + memset(&ctx->ex_data,0,sizeof(CRYPTO_EX_DATA)); } void X509_STORE_CTX_set_flags(X509_STORE_CTX *ctx, long flags) |