]> 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)
committerVille Savolainen <ville.savolainen@dovecot.fi>
Tue, 10 Sep 2019 07:02:03 +0000 (10:02 +0300)
src/lib-smtp/test-smtp-payload.c

index 06436870807b61c2322a136e1dacacf9c3927f03..206e75b519bf55e49b336e3e7046b849aff36044 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)