From: Siavash Tavakoli Date: Fri, 26 Jul 2019 08:54:47 +0000 (+0300) Subject: lib-http: test-http-payload - Include test_echo_ssl only if ssl is supported X-Git-Tag: 2.3.8~180 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2efc0194e5b41bfa1047815cc62724e0277f72a9;p=thirdparty%2Fdovecot%2Fcore.git lib-http: test-http-payload - Include test_echo_ssl only if ssl is supported --- diff --git a/src/lib-http/test-http-payload.c b/src/lib-http/test-http-payload.c index 187b9b89ff..80115e557f 100644 --- a/src/lib-http/test-http-payload.c +++ b/src/lib-http/test-http-payload.c @@ -1864,6 +1864,7 @@ static void test_echo_client_shared(void) test_end(); } +#ifdef HAVE_OPENSSL static void test_echo_ssl(void) { test_begin("http payload echo (ssl)"); @@ -1892,6 +1893,7 @@ static void test_echo_ssl(void) test_run_parallel(test_client_echo); test_end(); } +#endif static void (*const test_functions[])(void) = { test_download_server_nonblocking, @@ -1905,7 +1907,9 @@ static void (*const test_functions[])(void) = { test_download_client_partial, test_download_client_nested_ioloop, test_echo_client_shared, +#ifdef HAVE_OPENSSL test_echo_ssl, +#endif NULL };