mirror of
https://github.com/openssl/openssl.git
synced 2025-03-31 20:10:45 +08:00
Don't check any revocation info on proxy certificates
Because proxy certificates typically come without any CRL information, trying to check revocation on them will fail. Better not to try checking such information for them at all. Reviewed-by: Rich Salz <rsalz@openssl.org>
This commit is contained in:
parent
ea24fe2996
commit
790555d675
@ -844,6 +844,9 @@ static int check_cert(X509_STORE_CTX *ctx)
|
||||
ctx->current_crl_score = 0;
|
||||
ctx->current_reasons = 0;
|
||||
|
||||
if (x->ex_flags & EXFLAG_PROXY)
|
||||
return 1;
|
||||
|
||||
while (ctx->current_reasons != CRLDP_ALL_REASONS) {
|
||||
unsigned int last_reasons = ctx->current_reasons;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user