From 2581aacd522ef6813ca8edf172c9a989cbba1478 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Tue, 10 Dec 2002 08:26:10 +0000 Subject: [PATCH] A memset() too many got converted into a OPENSSL_cleanse(). PR: 393 --- crypto/x509/x509_vfy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.25.1