mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-06 15:51:25 +00:00
fix for no TLS
This commit is contained in:
1 parent
b78efbac36
commit
7d53c21efe
1 file changed
+2
-2
+2
-2
@@ -358,11 +358,11 @@ static void test_tls(struct mg_mgr *mgr) {
|
|||||||
sleep(1);
|
sleep(1);
|
||||||
ASSERT(fetch(mgr, buf, url, "GET /thefile HTTP/1.0\n\n") == 200);
|
ASSERT(fetch(mgr, buf, url, "GET /thefile HTTP/1.0\n\n") == 200);
|
||||||
ASSERT(cmpbody(buf, data.buf) == 0); // "thefile" links to Makefile
|
ASSERT(cmpbody(buf, data.buf) == 0); // "thefile" links to Makefile
|
||||||
system("killall tls_multirec/server");
|
ASSERT(system("killall tls_multirec/server"));
|
||||||
free(url);
|
free(url);
|
||||||
#else
|
#else
|
||||||
|
(void) cmpbody("", "");
|
||||||
(void) mgr;
|
(void) mgr;
|
||||||
(void) ip;
|
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user