diff options
Diffstat (limited to 'src/testcurl/https/test_https_get_select.c')
-rw-r--r-- | src/testcurl/https/test_https_get_select.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/testcurl/https/test_https_get_select.c b/src/testcurl/https/test_https_get_select.c index 4de66fe6..7149caf7 100644 --- a/src/testcurl/https/test_https_get_select.c +++ b/src/testcurl/https/test_https_get_select.c | |||
@@ -92,7 +92,6 @@ testExternalGet (unsigned int flags) | |||
92 | struct CURLMsg *msg; | 92 | struct CURLMsg *msg; |
93 | time_t start; | 93 | time_t start; |
94 | struct timeval tv; | 94 | struct timeval tv; |
95 | const char *aes256_sha = "AES256-SHA"; | ||
96 | uint16_t port; | 95 | uint16_t port; |
97 | 96 | ||
98 | if (MHD_NO != MHD_is_feature_supported (MHD_FEATURE_AUTODETECT_BIND_PORT)) | 97 | if (MHD_NO != MHD_is_feature_supported (MHD_FEATURE_AUTODETECT_BIND_PORT)) |
@@ -122,9 +121,6 @@ testExternalGet (unsigned int flags) | |||
122 | port = dinfo->port; | 121 | port = dinfo->port; |
123 | } | 122 | } |
124 | 123 | ||
125 | if (curl_tls_is_nss ()) | ||
126 | aes256_sha = "rsa_aes_256_sha"; | ||
127 | |||
128 | c = curl_easy_init (); | 124 | c = curl_easy_init (); |
129 | curl_easy_setopt (c, CURLOPT_URL, "https://127.0.0.1/hello_world"); | 125 | curl_easy_setopt (c, CURLOPT_URL, "https://127.0.0.1/hello_world"); |
130 | curl_easy_setopt (c, CURLOPT_PORT, (long) port); | 126 | curl_easy_setopt (c, CURLOPT_PORT, (long) port); |
@@ -132,7 +128,6 @@ testExternalGet (unsigned int flags) | |||
132 | curl_easy_setopt (c, CURLOPT_WRITEDATA, &cbc); | 128 | curl_easy_setopt (c, CURLOPT_WRITEDATA, &cbc); |
133 | /* TLS options */ | 129 | /* TLS options */ |
134 | curl_easy_setopt (c, CURLOPT_SSLVERSION, CURL_SSLVERSION_TLSv1); | 130 | curl_easy_setopt (c, CURLOPT_SSLVERSION, CURL_SSLVERSION_TLSv1); |
135 | curl_easy_setopt (c, CURLOPT_SSL_CIPHER_LIST, aes256_sha); | ||
136 | curl_easy_setopt (c, CURLOPT_SSL_VERIFYPEER, 0L); | 131 | curl_easy_setopt (c, CURLOPT_SSL_VERIFYPEER, 0L); |
137 | curl_easy_setopt (c, CURLOPT_SSL_VERIFYHOST, 0L); | 132 | curl_easy_setopt (c, CURLOPT_SSL_VERIFYHOST, 0L); |
138 | curl_easy_setopt (c, CURLOPT_FAILONERROR, 1L); | 133 | curl_easy_setopt (c, CURLOPT_FAILONERROR, 1L); |