From: Quanah Gibson-Mount Date: Tue, 17 Feb 2009 21:32:09 +0000 (+0000) Subject: ITS#5955 X-Git-Tag: ACLCHECK_0~818 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=331a57fa372dfc151321d03274debb87d7de8417;p=openldap ITS#5955 --- 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;