summaryrefslogtreecommitdiffstats
path: root/apps/verify.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2001-05-09 00:30:39 +0000
committerDr. Stephen Henson <steve@openssl.org>2001-05-09 00:30:39 +0000
commitbdee69f7186e1d0b94baa5179d068fc9c611faf5 (patch)
tree87ecf24c97dca8a8a92f10a70b6028282e8e060a /apps/verify.c
parentff43e2e1557962794f773dd9243d6ffdbf4db1aa (diff)
Allow various X509_STORE_CTX properties to be
inherited from X509_STORE. Add CRL checking options to other applications.
Diffstat (limited to 'apps/verify.c')
-rw-r--r--apps/verify.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/verify.c b/apps/verify.c
index 08027288dc..5b9d719d9f 100644
--- a/apps/verify.c
+++ b/apps/verify.c
@@ -287,10 +287,10 @@ static int check(X509_STORE *ctx, char *file, STACK_OF(X509) *uchain, STACK_OF(X
ERR_print_errors(bio_err);
goto end;
}
+ X509_STORE_set_flags(ctx, vflags);
X509_STORE_CTX_init(csc,ctx,x,uchain);
if(tchain) X509_STORE_CTX_trusted_stack(csc, tchain);
if(purpose >= 0) X509_STORE_CTX_set_purpose(csc, purpose);
- X509_STORE_CTX_set_flags(csc, vflags);
i=X509_verify_cert(csc);
X509_STORE_CTX_free(csc);