1 --- sylpheed-2.0.0beta6/src/ssl.c.orig 2005-07-20 15:45:12.882201824 +0100
2 +++ sylpheed-2.0.0beta6/src/ssl.c 2005-07-20 16:10:04.006516472 +0100
4 debug_print(_("SSLv23 not available\n"));
6 debug_print(_("SSLv23 available\n"));
9 !SSL_CTX_load_verify_locations(ssl_ctx_SSLv23, NULL,
12 g_warning("SSLv23 SSL_CTX_load_verify_locations failed.\n");
16 debug_print(_("TLSv1 not available\n"));
18 debug_print(_("TLSv1 available\n"));
21 !SSL_CTX_load_verify_locations(ssl_ctx_TLSv1, NULL,
24 g_warning("TLSv1 SSL_CTX_load_verify_locations failed.\n");
31 - verify_result = SSL_get_verify_result(sockinfo->ssl);
32 - if (verify_result == X509_V_OK)
33 + verify_result = 0; /*SSL_get_verify_result(sockinfo->ssl);*/
34 + if (verify_result == 1)
35 debug_print("SSL verify OK\n");
37 g_warning("%s: SSL certificate verify failed (%ld: %s)\n",