diff options
author | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2022-10-04 18:49:35 +0300 |
---|---|---|
committer | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2022-10-05 18:42:20 +0300 |
commit | f069ee365d4cedb9854924ab2f6b96476b64319f (patch) | |
tree | 0efa1a26e7848d6ee3a97fc697e2b0b492828e37 /src/testcurl/https/test_https_session_info.c | |
parent | 0be4e8c2a74bc70683aff1f8af9f225d2090d0c2 (diff) | |
download | libmicrohttpd-f069ee365d4cedb9854924ab2f6b96476b64319f.tar.gz libmicrohttpd-f069ee365d4cedb9854924ab2f6b96476b64319f.zip |
testcurl/https: removed explicit cipher setting
Explicit ciphers are not required and not future-proof.
Diffstat (limited to 'src/testcurl/https/test_https_session_info.c')
-rw-r--r-- | src/testcurl/https/test_https_session_info.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/testcurl/https/test_https_session_info.c b/src/testcurl/https/test_https_session_info.c index 3070c5f7..e3b2b428 100644 --- a/src/testcurl/https/test_https_session_info.c +++ b/src/testcurl/https/test_https_session_info.c | |||
@@ -102,7 +102,6 @@ test_query_session (void) | |||
102 | CURLcode errornum; | 102 | CURLcode errornum; |
103 | char url[256]; | 103 | char url[256]; |
104 | uint16_t port; | 104 | uint16_t port; |
105 | const char *aes256_sha = "AES256-SHA"; | ||
106 | 105 | ||
107 | if (MHD_NO != MHD_is_feature_supported (MHD_FEATURE_AUTODETECT_BIND_PORT)) | 106 | if (MHD_NO != MHD_is_feature_supported (MHD_FEATURE_AUTODETECT_BIND_PORT)) |
108 | port = 0; | 107 | port = 0; |
@@ -142,11 +141,6 @@ test_query_session (void) | |||
142 | port = dinfo->port; | 141 | port = dinfo->port; |
143 | } | 142 | } |
144 | 143 | ||
145 | if (curl_tls_is_nss ()) | ||
146 | { | ||
147 | aes256_sha = "rsa_aes_256_sha"; | ||
148 | } | ||
149 | |||
150 | gen_test_file_url (url, | 144 | gen_test_file_url (url, |
151 | sizeof (url), | 145 | sizeof (url), |
152 | port); | 146 | port); |
@@ -162,7 +156,6 @@ test_query_session (void) | |||
162 | curl_easy_setopt (c, CURLOPT_FILE, &cbc); | 156 | curl_easy_setopt (c, CURLOPT_FILE, &cbc); |
163 | /* TLS options */ | 157 | /* TLS options */ |
164 | curl_easy_setopt (c, CURLOPT_SSLVERSION, CURL_SSLVERSION_TLSv1_1); | 158 | curl_easy_setopt (c, CURLOPT_SSLVERSION, CURL_SSLVERSION_TLSv1_1); |
165 | curl_easy_setopt (c, CURLOPT_SSL_CIPHER_LIST, aes256_sha); | ||
166 | /* currently skip any peer authentication */ | 159 | /* currently skip any peer authentication */ |
167 | curl_easy_setopt (c, CURLOPT_SSL_VERIFYPEER, 0L); | 160 | curl_easy_setopt (c, CURLOPT_SSL_VERIFYPEER, 0L); |
168 | curl_easy_setopt (c, CURLOPT_SSL_VERIFYHOST, 0L); | 161 | curl_easy_setopt (c, CURLOPT_SSL_VERIFYHOST, 0L); |