commit: r1770 - neon/trunk/src

joe at manyfish.co.uk joe at manyfish.co.uk
Wed Dec 30 16:26:52 EST 2009


Author: joe
Date: Wed Dec 30 13:26:50 2009
New Revision: 1770

Modified:
   neon/trunk/src/ne_openssl.c

Log:
* 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/trunk/src/ne_openssl.c
==============================================================================
--- neon/trunk/src/ne_openssl.c	(original)
+++ neon/trunk/src/ne_openssl.c	Wed Dec 30 13:26:50 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