mirror of
https://git.gnunet.org/libmicrohttpd.git
synced 2026-10-03 04:03:18 +03:00
fixing https testcases that require SSL3, but SSL3 is dead and with modern gnutls not even supported
This commit is contained in:
1 parent
7c7af4340f
commit
7d1a24e754
8 files changed
+12
-60
No files matched your search
@@ -100,7 +100,6 @@ main (int argc, char *const *argv)
|
||||
{
|
||||
unsigned int errorCount = 0;
|
||||
const char *aes256_sha_tlsv1 = "AES256-SHA";
|
||||
const char *aes256_sha_sslv3 = "AES256-SHA";
|
||||
const char *des_cbc3_sha_tlsv1 = "DES-CBC3-SHA";
|
||||
|
||||
gcry_control (GCRYCTL_ENABLE_QUICK_RANDOM, 0);
|
||||
@@ -116,14 +115,11 @@ main (int argc, char *const *argv)
|
||||
if (curl_uses_nss_ssl() == 0)
|
||||
{
|
||||
aes256_sha_tlsv1 = "rsa_aes_256_sha";
|
||||
aes256_sha_sslv3 = "rsa_aes_256_sha";
|
||||
des_cbc3_sha_tlsv1 = "rsa_aes_128_sha";
|
||||
}
|
||||
|
||||
errorCount +=
|
||||
test_secure_get (NULL, aes256_sha_tlsv1, CURL_SSLVERSION_TLSv1);
|
||||
errorCount +=
|
||||
test_secure_get (NULL, aes256_sha_sslv3, CURL_SSLVERSION_SSLv3);
|
||||
errorCount +=
|
||||
test_cipher_option (NULL, des_cbc3_sha_tlsv1, CURL_SSLVERSION_TLSv1);
|
||||
print_test_result (errorCount, argv[0]);
|
||||
|
||||
Reference in new issue
Block a user