mirror of
https://git.gnunet.org/libmicrohttpd.git
synced 2026-10-01 04:03:18 +03:00
-additional code cleanup
This commit is contained in:
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,
|
||||
|
||||
Reference in new issue
Block a user