-additional code cleanup

This commit is contained in:
Christian Grothoff committed 2012-07-19 15:31:39 +00:00
1 parent 333b6f62d6
commit 3f2b73dd80
6 files changed
+77 -162

No files matched your search

@@ -55,18 +55,6 @@ query_session_ahc (void *cls, struct MHD_Connection *connection,
return MHD_YES;
}
/* assert actual connection cipher is the one negotiated */
if (GNUTLS_CIPHER_ARCFOUR_128 !=
(ret = MHD_get_connection_info
(connection,
MHD_CONNECTION_INFO_CIPHER_ALGO)->cipher_algorithm))
{
fprintf (stderr, "Error: requested cipher mismatch (wanted %d, got %d)\n",
GNUTLS_CIPHER_ARCFOUR_128,
ret);
return -1;
}
if (GNUTLS_SSL3 !=
(ret = MHD_get_connection_info
(connection,