From: Jeremy Harris Date: Sun, 17 Aug 2014 13:42:43 +0000 (+0100) Subject: Feature compile-guard X-Git-Tag: exim-4_85_RC1~67^2~9 X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=b50c8b8487f906a7e18580e9020783afde09d9f7;p=exim.git Feature compile-guard --- diff --git a/src/src/tls-openssl.c b/src/src/tls-openssl.c index 57b0808fb..de2e7a3bd 100644 --- a/src/src/tls-openssl.c +++ b/src/src/tls-openssl.c @@ -1866,6 +1866,7 @@ if (dane) #ifndef DISABLE_OCSP /* Request certificate status at connection-time. If the server does OCSP stapling we will get the callback (set in tls_init()) */ +# ifdef EXPERIMENTAL_DANE if (request_ocsp) { const uschar * s; @@ -1882,6 +1883,8 @@ if (request_ocsp) NULL, host->name, host->address, NULL) == OK; } } +# endif + if (request_ocsp) { SSL_set_tlsext_status_type(client_ssl, TLSEXT_STATUSTYPE_ocsp);