diff options
author | markus <> | 2003-11-11 22:15:20 +0000 |
---|---|---|
committer | markus <> | 2003-11-11 22:15:20 +0000 |
commit | 38a053f575d6faf05903707a8e835dc231c7eca9 (patch) | |
tree | 6f8ff7f2313c890e1f52fd53451e7af46dad58b2 /src/lib/libcrypto/x509/x509_vfy.c | |
parent | 76b1d16ba9a90ba98e7cfdc332eb843f02c06a1c (diff) | |
download | openbsd-38a053f575d6faf05903707a8e835dc231c7eca9.tar.gz openbsd-38a053f575d6faf05903707a8e835dc231c7eca9.tar.bz2 openbsd-38a053f575d6faf05903707a8e835dc231c7eca9.zip |
merge 0.9.7c; minor bugsfixes;
API addition: ERR_release_err_state_table
[make includes before you build libssl/libcrypto]
Diffstat (limited to 'src/lib/libcrypto/x509/x509_vfy.c')
-rw-r--r-- | src/lib/libcrypto/x509/x509_vfy.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/x509/x509_vfy.c b/src/lib/libcrypto/x509/x509_vfy.c index 04997ba456..2bb21b443e 100644 --- a/src/lib/libcrypto/x509/x509_vfy.c +++ b/src/lib/libcrypto/x509/x509_vfy.c | |||
@@ -453,9 +453,9 @@ static int check_revocation(X509_STORE_CTX *ctx) | |||
453 | if (!(ctx->flags & X509_V_FLAG_CRL_CHECK)) | 453 | if (!(ctx->flags & X509_V_FLAG_CRL_CHECK)) |
454 | return 1; | 454 | return 1; |
455 | if (ctx->flags & X509_V_FLAG_CRL_CHECK_ALL) | 455 | if (ctx->flags & X509_V_FLAG_CRL_CHECK_ALL) |
456 | last = 0; | ||
457 | else | ||
458 | last = sk_X509_num(ctx->chain) - 1; | 456 | last = sk_X509_num(ctx->chain) - 1; |
457 | else | ||
458 | last = 0; | ||
459 | for(i = 0; i <= last; i++) | 459 | for(i = 0; i <= last; i++) |
460 | { | 460 | { |
461 | ctx->error_depth = i; | 461 | ctx->error_depth = i; |