DANE: fix TA-mode verify under GnuTLS. Bug 2311
[exim.git] / test / confs / 5860
index 82079fe3837906d9977b8db51baf52d6f00bc9e2..df9115129cff3e5b7f36d8c868f5330759b26dfc 100644 (file)
@@ -64,9 +64,11 @@ send_to_server:
 
 #  hosts_try_dane = *
   hosts_require_dane = *
+.ifdef _HAVE_OCSP
   hosts_request_ocsp = ${if or { {= {4}{$tls_out_tlsa_usage}} \
                                 {= {0}{$tls_out_tlsa_usage}} } \
                         {*}{}}
+.endif
 
   event_action =   ${acl {logger}}