summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>2011-11-09 01:19:14 +0000
committerMike Blumenkrantz <michael.blumenkrantz@gmail.com>2011-11-09 01:19:14 +0000
commit491fe6b0d638f9c365ca25d8305a550c03cbbc22 (patch)
tree1b82c079512f5877258165758b2f68f16537f462
parent47b58f75dac468cdf1cb77eb6d31b1426b3f5c4d (diff)
remove some unused vars
SVN revision: 64964
-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)