]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib-smtp: test-smtp-payload - exclude ssl cases if ssl not supported
authorSiavash Tavakoli <siavash.tavakoli@open-xchange.com>
Fri, 26 Jul 2019 08:55:05 +0000 (11:55 +0300)
committerSiavash Tavakoli <siavash.tavakoli@open-xchange.com>
Fri, 26 Jul 2019 09:41:10 +0000 (12:41 +0300)
src/lib-smtp/test-smtp-payload.c

index 53a15174c4b5fb69afc6f5c35eb330a0cede64ae..d9e773397865900e15bda8d90845914823ff8a19 100644 (file)
@@ -1000,6 +1000,7 @@ static void test_run_scenarios(enum smtp_protocol protocol,
 
        test_out_reason("unknown payload size", (failure == NULL), failure);
 
+#ifdef HAVE_OPENSSL
        smtp_server_set.max_pipelined_commands = 5;
        smtp_server_set.capabilities |= SMTP_CAPABILITY_PIPELINING;
        test_max_pending = MAX_PARALLEL_PENDING;
@@ -1027,6 +1028,7 @@ static void test_run_scenarios(enum smtp_protocol protocol,
 
        test_out_reason("parallel pipelining startls",
                        (failure == NULL), failure);
+#endif
 }
 
 static void test_smtp_normal(void)