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:
beee17c
)
Submitted by: Jonathan Dixon <joth@chromium.org>
author
Dr. Stephen Henson
<steve@openssl.org>
Tue, 2 Nov 2010 15:58:58 +0000
(15:58 +0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Tue, 2 Nov 2010 15:58:58 +0000
(15:58 +0000)
Reviewed by: steve
If store is NULL set flags correctly.
crypto/x509/x509_vfy.c
patch
|
blob
|
history
diff --git
a/crypto/x509/x509_vfy.c
b/crypto/x509/x509_vfy.c
index 7bac3c6f24bb3fb4822faa03f19d4719d7e69d38..fadf712e4b9a4ea9b24c1044c7545ed06b38901c 100644
(file)
--- a/
crypto/x509/x509_vfy.c
+++ b/
crypto/x509/x509_vfy.c
@@
-2061,7
+2061,7
@@
int X509_STORE_CTX_init(X509_STORE_CTX *ctx, X509_STORE *store, X509 *x509,
if (store)
ret = X509_VERIFY_PARAM_inherit(ctx->param, store->param);
else
- ctx->param->flags |= X509_VP_FLAG_DEFAULT|X509_VP_FLAG_ONCE;
+ ctx->param->
inh_
flags |= X509_VP_FLAG_DEFAULT|X509_VP_FLAG_ONCE;
if (store)
{