Testsuite: make common-code config usable in non-TLS builds
authorJeremy Harris <jgh146exb@wizmail.org>
Tue, 25 Oct 2016 13:58:03 +0000 (14:58 +0100)
committerJeremy Harris <jgh146exb@wizmail.org>
Tue, 25 Oct 2016 13:58:03 +0000 (14:58 +0100)
test/confs/0900

index 6816ef8c9c86a498e480fd7f8478010794cd74e2..e02380f73694e637ca9116012bc5589742c3a6f5 100644 (file)
@@ -28,8 +28,10 @@ queue_only
 smtp_receive_timeout = 2s
 log_selector = +received_recipients
 
+.ifdef _OPT_MAIN_TLS_CERTIFICATE
 tls_certificate = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
 tls_privatekey = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
+.endif
 
 ALLOW