diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2003-06-04 00:40:05 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2003-06-04 00:40:05 +0000 |
commit | 50078051bd1c63b04ff4842965081eb65db0421e (patch) | |
tree | f72923251537d4fad20ece76dc10bff44b32f0fe /crypto | |
parent | db01746978cbc383a55b58e8f9441452a0cb5964 (diff) | |
download | openssl-50078051bd1c63b04ff4842965081eb65db0421e.tar.gz |
Really get X509_CRL_CHECK_ALL right this time...
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/x509/x509_vfy.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/x509/x509_vfy.c b/crypto/x509/x509_vfy.c index 552d1e7251..f60054bd39 100644 --- a/crypto/x509/x509_vfy.c +++ b/crypto/x509/x509_vfy.c @@ -453,9 +453,9 @@ static int check_revocation(X509_STORE_CTX *ctx) if (!(ctx->flags & X509_V_FLAG_CRL_CHECK)) return 1; if (ctx->flags & X509_V_FLAG_CRL_CHECK_ALL) - last = 0; - else last = sk_X509_num(ctx->chain) - 1; + else + last = 0; for(i = 0; i <= last; i++) { ctx->error_depth = i; |