diff options
Diffstat (limited to 'src/testcurl/https/test_empty_response.c')
-rw-r--r-- | src/testcurl/https/test_empty_response.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/testcurl/https/test_empty_response.c b/src/testcurl/https/test_empty_response.c index 07388b76..c1e58245 100644 --- a/src/testcurl/https/test_empty_response.c +++ b/src/testcurl/https/test_empty_response.c | |||
@@ -75,7 +75,6 @@ testInternalSelectGet (void) | |||
75 | time_t start; | 75 | time_t start; |
76 | struct timeval tv; | 76 | struct timeval tv; |
77 | uint16_t port; | 77 | uint16_t port; |
78 | const char *aes256_sha = "AES256-SHA"; | ||
79 | 78 | ||
80 | if (MHD_NO != MHD_is_feature_supported (MHD_FEATURE_AUTODETECT_BIND_PORT)) | 79 | if (MHD_NO != MHD_is_feature_supported (MHD_FEATURE_AUTODETECT_BIND_PORT)) |
81 | port = 0; | 80 | port = 0; |
@@ -105,10 +104,6 @@ testInternalSelectGet (void) | |||
105 | } | 104 | } |
106 | port = dinfo->port; | 105 | port = dinfo->port; |
107 | } | 106 | } |
108 | if (curl_tls_is_nss ()) | ||
109 | { | ||
110 | aes256_sha = "rsa_aes_256_sha"; | ||
111 | } | ||
112 | 107 | ||
113 | c = curl_easy_init (); | 108 | c = curl_easy_init (); |
114 | curl_easy_setopt (c, CURLOPT_URL, "https://127.0.0.1/hello_world"); | 109 | curl_easy_setopt (c, CURLOPT_URL, "https://127.0.0.1/hello_world"); |
@@ -117,7 +112,6 @@ testInternalSelectGet (void) | |||
117 | curl_easy_setopt (c, CURLOPT_WRITEDATA, &cbc); | 112 | curl_easy_setopt (c, CURLOPT_WRITEDATA, &cbc); |
118 | /* TLS options */ | 113 | /* TLS options */ |
119 | curl_easy_setopt (c, CURLOPT_SSLVERSION, CURL_SSLVERSION_TLSv1); | 114 | curl_easy_setopt (c, CURLOPT_SSLVERSION, CURL_SSLVERSION_TLSv1); |
120 | curl_easy_setopt (c, CURLOPT_SSL_CIPHER_LIST, aes256_sha); | ||
121 | curl_easy_setopt (c, CURLOPT_SSL_VERIFYPEER, 0L); | 115 | curl_easy_setopt (c, CURLOPT_SSL_VERIFYPEER, 0L); |
122 | curl_easy_setopt (c, CURLOPT_SSL_VERIFYHOST, 0L); | 116 | curl_easy_setopt (c, CURLOPT_SSL_VERIFYHOST, 0L); |
123 | curl_easy_setopt (c, CURLOPT_FAILONERROR, 1L); | 117 | curl_easy_setopt (c, CURLOPT_FAILONERROR, 1L); |