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 6816ef8..e02380f 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