From 331a57fa372dfc151321d03274debb87d7de8417 Mon Sep 17 00:00:00 2001 From: Quanah Gibson-Mount Date: Tue, 17 Feb 2009 21:32:09 +0000 Subject: [PATCH] ITS#5955 --- libraries/libldap/tls2.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libraries/libldap/tls2.c b/libraries/libldap/tls2.c index e73ace5ce0..871ffe574c 100644 --- a/libraries/libldap/tls2.c +++ b/libraries/libldap/tls2.c @@ -635,9 +635,11 @@ ldap_pvt_tls_get_option( LDAP *ld, int option, void *arg ) case LDAP_OPT_X_TLS_REQUIRE_CERT: *(int *)arg = lo->ldo_tls_require_cert; break; +#ifdef HAVE_OPENSSL_CRL case LDAP_OPT_X_TLS_CRLCHECK: /* OpenSSL only */ *(int *)arg = lo->ldo_tls_crlcheck; break; +#endif case LDAP_OPT_X_TLS_CIPHER_SUITE: *(char **)arg = lo->ldo_tls_ciphersuite ? LDAP_STRDUP( lo->ldo_tls_ciphersuite ) : NULL; -- 2.39.5