diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2005-06-24 09:18:01 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2005-06-24 09:18:01 +0000 |
commit | 7272629d117959d8fde493a3499bda4aea40448c (patch) | |
tree | 0c9997fb077f52f760ad6973c6c2771a5c854ddb /src | |
parent | ec268f92052fc3469e6a0d582da4151c3a5f1163 (diff) |
show SSL verify result as string.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@378 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src')
-rw-r--r-- | src/ssl.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -155,8 +155,9 @@ gboolean ssl_init_socket_with_method(SockInfo *sockinfo, SSLMethod method) if (verify_result == X509_V_OK) debug_print("SSL verify OK\n"); else - g_warning("%s: SSL certificate verify failed (%ld)\n", - sockinfo->hostname, verify_result); + g_warning("%s: SSL certificate verify failed (%ld: %s)\n", + sockinfo->hostname, verify_result, + X509_verify_cert_error_string(verify_result)); X509_free(server_cert); } |