Author: danielsh Date: Sun Aug 18 21:29:15 2013 New Revision: 1515225 URL: http://svn.apache.org/r1515225 Log: ra_serf: Stringify SVN_AUTH_SSL_OTHER as well
* subversion/libsvn_ra_serf/util.c (ssl_server_cert): Handle SVN_AUTH_SSL_OTHER. 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=1515225&r1=1515224&r2=1515225&view=diff ============================================================================== --- subversion/trunk/subversion/libsvn_ra_serf/util.c (original) +++ subversion/trunk/subversion/libsvn_ra_serf/util.c Sun Aug 18 21:29:15 2013 @@ -378,6 +378,9 @@ ssl_server_cert(void *baton, int failure if (svn_failures & SVN_AUTH_SSL_UNKNOWNCA) append_reason(errmsg, _("issuer is not trusted"), &reasons); + if (svn_failures & SVN_AUTH_SSL_OTHER) + append_reason(errmsg, _("and other reason(s)"), &reasons); + return svn_error_create(SVN_ERR_RA_SERF_SSL_CERT_UNTRUSTED, NULL, errmsg->data); }