subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bre...@apache.org
Subject svn commit: r1568349 - /subversion/trunk/subversion/libsvn_ra_serf/util.c
Date Fri, 14 Feb 2014 16:51:19 GMT
Author: breser
Date: Fri Feb 14 16:51:18 2014
New Revision: 1568349

URL: http://svn.apache.org/r1568349
Log:
Followup to r1565531, Fix random failure of certs that don't have subjectAltNames.

* subversion/libsvn_ra_serf/util.c
  (ssl_server_cert): Initialize found_san_entry to FALSE.

Found by: julianf, philipm

Modified:
    subversion/trunk/subversion/libsvn_ra_serf/util.c

Modified: subversion/trunk/subversion/libsvn_ra_serf/util.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_ra_serf/util.c?rev=1568349&r1=1568348&r2=1568349&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_ra_serf/util.c (original)
+++ subversion/trunk/subversion/libsvn_ra_serf/util.c Fri Feb 14 16:51:18 2014
@@ -225,7 +225,7 @@ ssl_server_cert(void *baton, int failure
       ### This should really be handled by serf, which should pass an error
           for this case, but that has backwards compatibility issues. */
       apr_array_header_t *san;
-      svn_boolean_t found_san_entry;
+      svn_boolean_t found_san_entry = FALSE;
 
       serf_cert = serf_ssl_cert_certificate(cert, scratch_pool);
 



Mime
View raw message