[exim-cvs] Feature compile-guard

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Exim Git Commits Mailing List
Date:  
À: exim-cvs
Sujet: [exim-cvs] Feature compile-guard
Gitweb: http://git.exim.org/exim.git/commitdiff/b50c8b8487f906a7e18580e9020783afde09d9f7
Commit:     b50c8b8487f906a7e18580e9020783afde09d9f7
Parent:     594706ea2e56fe8c972eab772bd3e58c7a0c89ab
Author:     Jeremy Harris <jgh146exb@???>
AuthorDate: Sun Aug 17 14:42:43 2014 +0100
Committer:  Jeremy Harris <jgh146exb@???>
CommitDate: Sun Aug 17 14:42:43 2014 +0100


    Feature compile-guard
---
 src/src/tls-openssl.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)


diff --git a/src/src/tls-openssl.c b/src/src/tls-openssl.c
index 57b0808..de2e7a3 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);