diff options
author | simon <simon@FreeBSD.org> | 2007-03-15 20:03:30 +0000 |
---|---|---|
committer | simon <simon@FreeBSD.org> | 2007-03-15 20:03:30 +0000 |
commit | ee48ceb6a84c702d0f80bc72ce8be558bdcb0de3 (patch) | |
tree | e7ef8661c43c3081071230f45d641b5d8a756e55 /crypto/openssl/crypto/ocsp/ocsp_vfy.c | |
parent | 25dab5b4c1779c970f3c644ff3f37f0c4cb5538d (diff) | |
download | FreeBSD-src-ee48ceb6a84c702d0f80bc72ce8be558bdcb0de3.zip FreeBSD-src-ee48ceb6a84c702d0f80bc72ce8be558bdcb0de3.tar.gz |
Vendor import of OpenSSL 0.9.8e.
Diffstat (limited to 'crypto/openssl/crypto/ocsp/ocsp_vfy.c')
-rw-r--r-- | crypto/openssl/crypto/ocsp/ocsp_vfy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/openssl/crypto/ocsp/ocsp_vfy.c b/crypto/openssl/crypto/ocsp/ocsp_vfy.c index 3d58dfb..23ea41c 100644 --- a/crypto/openssl/crypto/ocsp/ocsp_vfy.c +++ b/crypto/openssl/crypto/ocsp/ocsp_vfy.c @@ -367,7 +367,7 @@ int OCSP_request_verify(OCSP_REQUEST *req, STACK_OF(X509) *certs, X509_STORE *st return 0; } gen = req->tbsRequest->requestorName; - if (gen->type != GEN_DIRNAME) + if (!gen || gen->type != GEN_DIRNAME) { OCSPerr(OCSP_F_OCSP_REQUEST_VERIFY, OCSP_R_UNSUPPORTED_REQUESTORNAME_TYPE); return 0; |