aboutsummaryrefslogtreecommitdiff
path: root/src/testcurl/https/test_tls_authentication.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/testcurl/https/test_tls_authentication.c')
-rw-r--r--src/testcurl/https/test_tls_authentication.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/testcurl/https/test_tls_authentication.c b/src/testcurl/https/test_tls_authentication.c
index 51fb5331..7ca75138 100644
--- a/src/testcurl/https/test_tls_authentication.c
+++ b/src/testcurl/https/test_tls_authentication.c
@@ -38,7 +38,6 @@ extern const char srv_signed_cert_pem[];
38extern const char srv_signed_key_pem[]; 38extern const char srv_signed_key_pem[];
39 39
40 40
41
42/* perform a HTTP GET request via SSL/TLS */ 41/* perform a HTTP GET request via SSL/TLS */
43static int 42static int
44test_secure_get (void *cls, char *cipher_suite, int proto_version) 43test_secure_get (void *cls, char *cipher_suite, int proto_version)
@@ -70,7 +69,7 @@ test_secure_get (void *cls, char *cipher_suite, int proto_version)
70 { 69 {
71 const union MHD_DaemonInfo *dinfo; 70 const union MHD_DaemonInfo *dinfo;
72 dinfo = MHD_get_daemon_info (d, MHD_DAEMON_INFO_BIND_PORT); 71 dinfo = MHD_get_daemon_info (d, MHD_DAEMON_INFO_BIND_PORT);
73 if ((NULL == dinfo) ||(0 == dinfo->port) ) 72 if ((NULL == dinfo) || (0 == dinfo->port) )
74 { 73 {
75 MHD_stop_daemon (d); return -1; 74 MHD_stop_daemon (d); return -1;
76 } 75 }