summaryrefslogtreecommitdiff
path: root/legacy
diff options
context:
space:
mode:
Diffstat (limited to 'legacy')
-rw-r--r--legacy/ecore/src/lib/ecore_con/ecore_con_ssl.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/legacy/ecore/src/lib/ecore_con/ecore_con_ssl.c b/legacy/ecore/src/lib/ecore_con/ecore_con_ssl.c
index 3bc7f39024..7bc71f8ee1 100644
--- a/legacy/ecore/src/lib/ecore_con/ecore_con_ssl.c
+++ b/legacy/ecore/src/lib/ecore_con/ecore_con_ssl.c
@@ -700,7 +700,6 @@ _ecore_con_ssl_server_init_gnutls(Ecore_Con_Server *svr)
700 return ECORE_CON_SSL_ERROR_NONE; 700 return ECORE_CON_SSL_ERROR_NONE;
701 if (svr->verify) 701 if (svr->verify)
702 { 702 {
703 ret = 0;
704 /* use CRL/CA lists to verify */ 703 /* use CRL/CA lists to verify */
705 SSL_ERROR_CHECK_GOTO_ERROR(ret = gnutls_certificate_verify_peers2(svr->session, &iter)); 704 SSL_ERROR_CHECK_GOTO_ERROR(ret = gnutls_certificate_verify_peers2(svr->session, &iter));
706 if (iter & GNUTLS_CERT_INVALID) 705 if (iter & GNUTLS_CERT_INVALID)
@@ -1001,7 +1000,6 @@ _ecore_con_ssl_client_init_gnutls(Ecore_Con_Client *cl)
1001 if (!cl->host_server->verify) 1000 if (!cl->host_server->verify)
1002 /* not verifying certificates, so we're done! */ 1001 /* not verifying certificates, so we're done! */
1003 return ECORE_CON_SSL_ERROR_NONE; 1002 return ECORE_CON_SSL_ERROR_NONE;
1004 ret = 0;
1005 /* use CRL/CA lists to verify */ 1003 /* use CRL/CA lists to verify */
1006 SSL_ERROR_CHECK_GOTO_ERROR(ret = gnutls_certificate_verify_peers2(cl->session, &iter)); 1004 SSL_ERROR_CHECK_GOTO_ERROR(ret = gnutls_certificate_verify_peers2(cl->session, &iter));
1007 if (iter & GNUTLS_CERT_INVALID) 1005 if (iter & GNUTLS_CERT_INVALID)