diff options
author | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2017-10-31 15:54:39 +0300 |
---|---|---|
committer | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2017-10-31 15:54:39 +0300 |
commit | ad6ad0ad5bfa80f3d1954f434376331b1cb0941e (patch) | |
tree | c80ecfa7138eaa539dd931bf3ea93affb1499bc4 /src/testcurl/https/test_https_get.c | |
parent | d1d4e15a97932b0122eb0c4a6d54453269c85792 (diff) | |
download | libmicrohttpd-ad6ad0ad5bfa80f3d1954f434376331b1cb0941e.tar.gz libmicrohttpd-ad6ad0ad5bfa80f3d1954f434376331b1cb0941e.zip |
HTTPS tests: disable 3DES testing on GnuTLS > 3.6.0 since it is disabled
by default in GnuTLS
Diffstat (limited to 'src/testcurl/https/test_https_get.c')
-rw-r--r-- | src/testcurl/https/test_https_get.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/testcurl/https/test_https_get.c b/src/testcurl/https/test_https_get.c index 7573315d..51536385 100644 --- a/src/testcurl/https/test_https_get.c +++ b/src/testcurl/https/test_https_get.c | |||
@@ -159,8 +159,13 @@ main (int argc, char *const *argv) | |||
159 | 159 | ||
160 | errorCount += | 160 | errorCount += |
161 | test_secure_get (NULL, aes256_sha_tlsv1, CURL_SSLVERSION_TLSv1); | 161 | test_secure_get (NULL, aes256_sha_tlsv1, CURL_SSLVERSION_TLSv1); |
162 | #if GNUTLS_VERSION_NUMBER < 0x030600 | ||
163 | /* '3DES' is disabled by default on GnuTLS > 3.6.0 */ | ||
162 | errorCount += | 164 | errorCount += |
163 | test_cipher_option (NULL, des_cbc3_sha_tlsv1, CURL_SSLVERSION_TLSv1); | 165 | test_cipher_option (NULL, des_cbc3_sha_tlsv1, CURL_SSLVERSION_TLSv1); |
166 | #else /* GNUTLS_VERSION_NUMBER >= 0x030600 */ | ||
167 | (void)des_cbc3_sha_tlsv1; | ||
168 | #endif /* GNUTLS_VERSION_NUMBER >= 0x030600 */ | ||
164 | print_test_result (errorCount, argv[0]); | 169 | print_test_result (errorCount, argv[0]); |
165 | 170 | ||
166 | curl_global_cleanup (); | 171 | curl_global_cleanup (); |