diff options
Diffstat (limited to 'src/testcurl/https/tls_authentication_test.c')
-rw-r--r-- | src/testcurl/https/tls_authentication_test.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/testcurl/https/tls_authentication_test.c b/src/testcurl/https/tls_authentication_test.c index 77b122f9..cb80475c 100644 --- a/src/testcurl/https/tls_authentication_test.c +++ b/src/testcurl/https/tls_authentication_test.c | |||
@@ -62,7 +62,7 @@ test_secure_get (void * cls, char *cipher_suite, int proto_version) | |||
62 | return -1; | 62 | return -1; |
63 | } | 63 | } |
64 | 64 | ||
65 | ret = test_daemon_get (NULL, cipher_suite, proto_version, DEAMON_TEST_PORT, 1); | 65 | ret = test_daemon_get (NULL, cipher_suite, proto_version, DEAMON_TEST_PORT, 0); |
66 | 66 | ||
67 | MHD_stop_daemon (d); | 67 | MHD_stop_daemon (d); |
68 | return ret; | 68 | return ret; |
@@ -86,8 +86,14 @@ main (int argc, char *const *argv) | |||
86 | return -1; | 86 | return -1; |
87 | } | 87 | } |
88 | 88 | ||
89 | char *aes256_sha = "AES256-SHA"; | ||
90 | if (curl_uses_nss_ssl() == 0) | ||
91 | { | ||
92 | aes256_sha = "rsa_aes_256_sha"; | ||
93 | } | ||
94 | |||
89 | errorCount += | 95 | errorCount += |
90 | test_secure_get (NULL, "AES256-SHA", CURL_SSLVERSION_TLSv1); | 96 | test_secure_get (NULL, aes256_sha, CURL_SSLVERSION_TLSv1); |
91 | 97 | ||
92 | print_test_result (errorCount, argv[0]); | 98 | print_test_result (errorCount, argv[0]); |
93 | 99 | ||