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