Author: dsahlberg Revision: 1926972 Modified property: svn:log Modified: svn:log at Tue Jul 15 20:54:10 2025 ------------------------------------------------------------------------------ --- svn:log (original) +++ svn:log Tue Jul 15 20:54:10 2025 @@ -20,3 +20,15 @@ svn: E170013: Unable to connect to a rep svn: E120170: TLS: error:0308010C:digital envelope routines::unsupported svn: E120170: TLS: could not parse PKCS12: /home/minfrin/.my-cert.p12 +* serf_bucket_types.h +(serf_ssl_error_cb_set): Allow the registration of an optional callback to +which error strings will be sent. + +* buckets/ssl_buckets.c + (serf_ssl_context_t): Add error_callback. + (log_ssl_error): Trigger error callback. + (status_from_ssl_error): Support SSL_ERROR_WANT_X509_LOOKUP. + (ssl_need_client_cert): Trigger callback with error explanation, remove an + infinite loop when the PKCS12 file cannot be opened. + (serf_ssl_error_cb_set): New function. + (ssl_new_session): Init the callback.