summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2014-08-17 14:42:43 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2014-08-17 14:42:43 +0100
commitb50c8b8487f906a7e18580e9020783afde09d9f7 (patch)
treeb82ef4004b18a1e17cd67ebb3629e811d008deb2 /src
parent594706ea2e56fe8c972eab772bd3e58c7a0c89ab (diff)
Feature compile-guard
Diffstat (limited to 'src')
-rw-r--r--src/src/tls-openssl.c3
1 files changed, 3 insertions, 0 deletions
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);