commit: r1771 - neon/branches/0.29.x/src

joe at manyfish.co.uk joe at manyfish.co.uk
Wed Dec 30 16:28:48 EST 2009


Author: joe
Date: Wed Dec 30 13:28:48 2009
New Revision: 1771

Modified:
   neon/branches/0.29.x/src/ne_openssl.c

Log:
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>


Modified: neon/branches/0.29.x/src/ne_openssl.c
==============================================================================
--- neon/branches/0.29.x/src/ne_openssl.c	(original)
+++ neon/branches/0.29.x/src/ne_openssl.c	Wed Dec 30 13:28:48 2009
@@ -377,6 +377,7 @@
     /* 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:



More information about the neon-commits mailing list