diff options
Diffstat (limited to 'src/testcurl/https/test_https_get_parallel_threads.c')
-rw-r--r-- | src/testcurl/https/test_https_get_parallel_threads.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/testcurl/https/test_https_get_parallel_threads.c b/src/testcurl/https/test_https_get_parallel_threads.c index 969bd45e..4a7d1b1d 100644 --- a/src/testcurl/https/test_https_get_parallel_threads.c +++ b/src/testcurl/https/test_https_get_parallel_threads.c | |||
@@ -142,6 +142,8 @@ main (int argc, char *const *argv) | |||
142 | unsigned int errorCount = 0; | 142 | unsigned int errorCount = 0; |
143 | const char *ssl_version; | 143 | const char *ssl_version; |
144 | int port; | 144 | int port; |
145 | unsigned int iseed; | ||
146 | char *aes256_sha = "AES256-SHA"; | ||
145 | (void) argc; /* Unused. Silent compiler warning. */ | 147 | (void) argc; /* Unused. Silent compiler warning. */ |
146 | 148 | ||
147 | if (MHD_NO != MHD_is_feature_supported (MHD_FEATURE_AUTODETECT_BIND_PORT)) | 149 | if (MHD_NO != MHD_is_feature_supported (MHD_FEATURE_AUTODETECT_BIND_PORT)) |
@@ -150,7 +152,7 @@ main (int argc, char *const *argv) | |||
150 | port = 3010; | 152 | port = 3010; |
151 | 153 | ||
152 | /* initialize random seed used by curl clients */ | 154 | /* initialize random seed used by curl clients */ |
153 | unsigned int iseed = (unsigned int) time (NULL); | 155 | iseed = (unsigned int) time (NULL); |
154 | 156 | ||
155 | #ifdef MHD_HTTPS_REQUIRE_GRYPT | 157 | #ifdef MHD_HTTPS_REQUIRE_GRYPT |
156 | #ifdef GCRYCTL_INITIALIZATION_FINISHED | 158 | #ifdef GCRYCTL_INITIALIZATION_FINISHED |
@@ -174,7 +176,6 @@ main (int argc, char *const *argv) | |||
174 | return 77; | 176 | return 77; |
175 | } | 177 | } |
176 | 178 | ||
177 | char *aes256_sha = "AES256-SHA"; | ||
178 | if (curl_uses_nss_ssl () == 0) | 179 | if (curl_uses_nss_ssl () == 0) |
179 | { | 180 | { |
180 | aes256_sha = "rsa_aes_256_sha"; | 181 | aes256_sha = "rsa_aes_256_sha"; |