diff options
author | Christian Grothoff <christian@grothoff.org> | 2008-11-17 08:06:55 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2008-11-17 08:06:55 +0000 |
commit | 86f8eb7807aa265ed7eb803e6f4e2b546b84c1df (patch) | |
tree | d5a05f39a90fc2911cb14b9fb651948239475759 /src/daemon/https/tls/gnutls_algorithms.c | |
parent | 470fc841c212fe9eefa5ad20dbbe792036ca34d4 (diff) | |
download | libmicrohttpd-86f8eb7807aa265ed7eb803e6f4e2b546b84c1df.tar.gz libmicrohttpd-86f8eb7807aa265ed7eb803e6f4e2b546b84c1df.zip |
dead
Diffstat (limited to 'src/daemon/https/tls/gnutls_algorithms.c')
-rw-r--r-- | src/daemon/https/tls/gnutls_algorithms.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/daemon/https/tls/gnutls_algorithms.c b/src/daemon/https/tls/gnutls_algorithms.c index b3719a3c..dd223636 100644 --- a/src/daemon/https/tls/gnutls_algorithms.c +++ b/src/daemon/https/tls/gnutls_algorithms.c | |||
@@ -1258,8 +1258,7 @@ MHD_gtls_supported_ciphersuites (MHD_gtls_session_t session, | |||
1258 | { | 1258 | { |
1259 | /* remove private cipher suites, if requested. | 1259 | /* remove private cipher suites, if requested. |
1260 | */ | 1260 | */ |
1261 | if (tmp_ciphers[i].suite[0] == 0xFF && session->internals.enable_private | 1261 | if (tmp_ciphers[i].suite[0] == 0xFF) |
1262 | == 0) | ||
1263 | continue; | 1262 | continue; |
1264 | 1263 | ||
1265 | /* remove cipher suites which do not support the | 1264 | /* remove cipher suites which do not support the |
@@ -1344,8 +1343,7 @@ MHD_gtls_supported_compression_methods (MHD_gtls_session_t session, | |||
1344 | 1343 | ||
1345 | /* remove private compression algorithms, if requested. | 1344 | /* remove private compression algorithms, if requested. |
1346 | */ | 1345 | */ |
1347 | if (tmp == -1 || (tmp >= MIN_PRIVATE_COMP_ALGO | 1346 | if (tmp == -1 || (tmp >= MIN_PRIVATE_COMP_ALGO)) |
1348 | && session->internals.enable_private == 0)) | ||
1349 | { | 1347 | { |
1350 | MHD_gnutls_assert (); | 1348 | MHD_gnutls_assert (); |
1351 | continue; | 1349 | continue; |