projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa61140
)
A memset() too many got converted into a OPENSSL_cleanse().
author
Richard Levitte
<levitte@openssl.org>
Tue, 10 Dec 2002 08:28:16 +0000
(08:28 +0000)
committer
Richard Levitte
<levitte@openssl.org>
Tue, 10 Dec 2002 08:28:16 +0000
(08:28 +0000)
PR: 393
crypto/x509/x509_vfy.c
patch
|
blob
|
history
diff --git
a/crypto/x509/x509_vfy.c
b/crypto/x509/x509_vfy.c
index 90b18a046407ef8e4f14671a71a2c3a3d770b2d2..9ad9276ff76b9bd7ad5c599cab45069e5a0b629a 100644
(file)
--- a/
crypto/x509/x509_vfy.c
+++ b/
crypto/x509/x509_vfy.c
@@
-897,7
+897,7
@@
void X509_STORE_CTX_cleanup(X509_STORE_CTX *ctx)
ctx->chain=NULL;
}
CRYPTO_free_ex_data(x509_store_ctx_method,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)