commit 2648ef578fde5a02f66a434689c5cd16fc837667 Author: Oswald Buddenhagen <o...@users.sf.net> Date: Sat May 21 13:08:09 2016 +0200
fix server certificate validation error reporting use the right function to decode the error code. found by Andrés Ramírez <sunsh...@fastmail.fm>. src/socket.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/socket.c b/src/socket.c index 9fd6eca..5221cd6 100644 --- a/src/socket.c +++ b/src/socket.c @@ -178,7 +178,7 @@ verify_cert_host( const server_conf_t *conf, conn_t *sock ) err = SSL_get_verify_result( sock->ssl ); if (err != X509_V_OK) { - error( "SSL error connecting %s: %s\n", sock->name, ERR_error_string( err, NULL ) ); + error( "SSL error connecting %s: %s\n", sock->name, X509_verify_cert_error_string( err ) ); return -1; } ------------------------------------------------------------------------------ Mobile security can be enabling, not merely restricting. Employees who bring their own devices (BYOD) to work are irked by the imposition of MDM restrictions. Mobile Device Manager Plus allows you to control only the apps on BYO-devices by containerizing them, leaving personal data untouched! https://ad.doubleclick.net/ddm/clk/304595813;131938128;j _______________________________________________ isync-devel mailing list isync-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/isync-devel