]> granicus.if.org Git - libevent/commitdiff
regress_http: fix compilation with !EVENT__HAVE_OPENSSL
authorAzat Khuzhin <a3at.mail@gmail.com>
Tue, 20 Nov 2018 03:20:51 +0000 (06:20 +0300)
committerAzat Khuzhin <a3at.mail@gmail.com>
Tue, 20 Nov 2018 03:22:27 +0000 (06:22 +0300)
Fixes: 811c63f7 ("regress: test for HTTP/HTTPS with IOCP enabled")
test/regress_http.c

index cb749dd9ba551126f2525fc9bbce2709e2e99730..2efc0dbf325df588af87cbe1a297f14af2d181cb 100644 (file)
@@ -4970,6 +4970,8 @@ struct testcase_t http_testcases[] = {
 
 struct testcase_t http_iocp_testcases[] = {
        { "simple", http_simple_test, TT_FORK|TT_NEED_BASE|TT_ENABLE_IOCP, &basic_setup, NULL },
+#ifdef EVENT__HAVE_OPENSSL
        { "https_simple", https_simple_test, TT_FORK|TT_NEED_BASE|TT_ENABLE_IOCP, &basic_setup, NULL },
+#endif
        END_OF_TESTCASES
 };