diff options
Diffstat (limited to 'thirdparty/openssl/crypto/ocsp/ocsp_vfy.c')
-rw-r--r-- | thirdparty/openssl/crypto/ocsp/ocsp_vfy.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/thirdparty/openssl/crypto/ocsp/ocsp_vfy.c b/thirdparty/openssl/crypto/ocsp/ocsp_vfy.c index d4a257c33b..7a7d06094e 100644 --- a/thirdparty/openssl/crypto/ocsp/ocsp_vfy.c +++ b/thirdparty/openssl/crypto/ocsp/ocsp_vfy.c @@ -118,6 +118,8 @@ int OCSP_basic_verify(OCSP_BASICRESP *bs, STACK_OF(X509) *certs, goto end; } } + } else if (certs != NULL) { + untrusted = certs; } else { untrusted = bs->certs; } |