diff options
Diffstat (limited to 'src/testcurl/https/tls_daemon_options_test.c')
-rw-r--r-- | src/testcurl/https/tls_daemon_options_test.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/testcurl/https/tls_daemon_options_test.c b/src/testcurl/https/tls_daemon_options_test.c index 737ea58a..11439db4 100644 --- a/src/testcurl/https/tls_daemon_options_test.c +++ b/src/testcurl/https/tls_daemon_options_test.c | |||
@@ -222,7 +222,7 @@ test_https_transfer (FILE * test_fd, char *cipher_suite, int proto_version) | |||
222 | return 0; | 222 | return 0; |
223 | } | 223 | } |
224 | 224 | ||
225 | FILE * | 225 | static FILE * |
226 | setupTestFile () | 226 | setupTestFile () |
227 | { | 227 | { |
228 | FILE *test_fd; | 228 | FILE *test_fd; |
@@ -381,7 +381,8 @@ main (int argc, char *const *argv) | |||
381 | int cipher[] = { MHD_GNUTLS_CIPHER_3DES_CBC, 0 }; | 381 | int cipher[] = { MHD_GNUTLS_CIPHER_3DES_CBC, 0 }; |
382 | 382 | ||
383 | errorCount += | 383 | errorCount += |
384 | test_wrap ("https_transfer", &test_https_transfer, test_fd, "AES256-SHA", | 384 | test_wrap ("https_transfer", &test_https_transfer, |
385 | test_fd, "AES256-SHA", | ||
385 | CURL_SSLVERSION_TLSv1, | 386 | CURL_SSLVERSION_TLSv1, |
386 | MHD_OPTION_HTTPS_MEM_KEY, srv_key_pem, | 387 | MHD_OPTION_HTTPS_MEM_KEY, srv_key_pem, |
387 | MHD_OPTION_HTTPS_MEM_CERT, srv_self_signed_cert_pem, | 388 | MHD_OPTION_HTTPS_MEM_CERT, srv_self_signed_cert_pem, |
@@ -389,9 +390,11 @@ main (int argc, char *const *argv) | |||
389 | 390 | ||
390 | errorCount += | 391 | errorCount += |
391 | test_wrap ("protocol_version", &test_protocol_version, test_fd, | 392 | test_wrap ("protocol_version", &test_protocol_version, test_fd, |
392 | "AES256-SHA", CURL_SSLVERSION_TLSv1, MHD_OPTION_HTTPS_MEM_KEY, | 393 | "AES256-SHA", CURL_SSLVERSION_TLSv1, |
394 | MHD_OPTION_HTTPS_MEM_KEY, | ||
393 | srv_key_pem, MHD_OPTION_HTTPS_MEM_CERT, | 395 | srv_key_pem, MHD_OPTION_HTTPS_MEM_CERT, |
394 | srv_self_signed_cert_pem, MHD_OPTION_PROTOCOL_VERSION, p, | 396 | srv_self_signed_cert_pem, |
397 | MHD_OPTION_PROTOCOL_VERSION, p, | ||
395 | MHD_OPTION_END); | 398 | MHD_OPTION_END); |
396 | errorCount += | 399 | errorCount += |
397 | test_wrap ("cipher DES-CBC3-SHA", &test_https_transfer, test_fd, | 400 | test_wrap ("cipher DES-CBC3-SHA", &test_https_transfer, test_fd, |