Commit 0af0e9d7 authored by Dr. Stephen Henson's avatar Dr. Stephen Henson
Browse files

Submitted by: Jonathan Dixon <joth@chromium.org>

Reviewed by: steve

If store is NULL set flags correctly.
parent 2191b3ba
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2034,7 +2034,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)
		{