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:
533a0c4
)
A memset() too many got converted into a OPENSSL_cleanse().
author
Richard Levitte
<levitte@openssl.org>
Tue, 10 Dec 2002 08:26:10 +0000
(08:26 +0000)
committer
Richard Levitte
<levitte@openssl.org>
Tue, 10 Dec 2002 08:26:10 +0000
(08:26 +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 568c62936795e45020daebf933d3401ea708b809..552d1e72516ea191cb78f0d2269dfc6a0d8f9d4a 100644
(file)
--- 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)