Submitted by: Jonathan Dixon <joth@chromium.org>
Reviewed by: steve If store is NULL set flags correctly.
This commit is contained in:
parent
beee17c428
commit
da7b0b2261
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue