diff options
author | joe <joe@61a7d7f5-40b7-0310-9c16-bb0ea8cb1845> | 2009-12-30 21:28:48 +0000 |
---|---|---|
committer | joe <joe@61a7d7f5-40b7-0310-9c16-bb0ea8cb1845> | 2009-12-30 21:28:48 +0000 |
commit | e87f4900c7b4801b71e47600f71e78d14f698744 (patch) | |
tree | 2c4fe362126abc0087cc34737af6a27f389a75c6 | |
parent | 87e21c6c952cf23209c30190488ac69d1541a740 (diff) | |
download | neon-e87f4900c7b4801b71e47600f71e78d14f698744.tar.gz |
Merge r1770 from trunk:
* src/ne_openssl.c (verify_callback): Handle OpenSSL error code
X509_V_ERR_UNABLE_TO_GET_ISSUER_CERT as an untrusted cert.
Submitted by: Tom C <tomc.neon pnl.gov>
git-svn-id: http://svn.webdav.org/repos/projects/neon/branches/0.29.x@1771 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
-rw-r--r-- | src/ne_openssl.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ne_openssl.c b/src/ne_openssl.c index 54a9f39..2b20ca0 100644 --- a/src/ne_openssl.c +++ b/src/ne_openssl.c @@ -377,6 +377,7 @@ static int verify_callback(int ok, X509_STORE_CTX *ctx) /* Map the error code onto any of the exported cert validation * errors, if possible. */ switch (err) { + case X509_V_ERR_UNABLE_TO_GET_ISSUER_CERT: case X509_V_ERR_UNABLE_TO_GET_ISSUER_CERT_LOCALLY: case X509_V_ERR_SELF_SIGNED_CERT_IN_CHAIN: case X509_V_ERR_DEPTH_ZERO_SELF_SIGNED_CERT: |