From: Enlightenment S. <no-...@en...> - 2010-10-02 22:27:37
|
Log: add DBG for successfully completing SSL verification. with this commit, I believe that the ssl api should be 100% functional. Author: discomfitor Date: 2010-10-02 15:27:30 -0700 (Sat, 02 Oct 2010) New Revision: 52988 Modified: trunk/ecore/src/lib/ecore_con/ecore_con_ssl.c Modified: trunk/ecore/src/lib/ecore_con/ecore_con_ssl.c =================================================================== --- trunk/ecore/src/lib/ecore_con/ecore_con_ssl.c 2010-10-02 22:01:43 UTC (rev 52987) +++ trunk/ecore/src/lib/ecore_con/ecore_con_ssl.c 2010-10-02 22:27:30 UTC (rev 52988) @@ -541,6 +541,7 @@ SSL_ERROR_CHECK_GOTO_ERROR(!gnutls_x509_crt_check_hostname(cert, svr->name)); gnutls_x509_crt_deinit(cert); + DBG("SSL certificate verification succeeded!"); return ECORE_CON_SSL_ERROR_NONE; error: @@ -1053,6 +1054,7 @@ /* use CRL/CA lists to verify */ if (SSL_get_peer_certificate(svr->ssl)) SSL_ERROR_CHECK_GOTO_ERROR(SSL_get_verify_result(svr->ssl)); + DBG("SSL certificate verification succeeded!"); return ECORE_CON_SSL_ERROR_NONE; |