]> git.sur5r.net Git - openldap/commitdiff
ITS#5955
authorQuanah Gibson-Mount <quanah@openldap.org>
Tue, 17 Feb 2009 21:32:09 +0000 (21:32 +0000)
committerQuanah Gibson-Mount <quanah@openldap.org>
Tue, 17 Feb 2009 21:32:09 +0000 (21:32 +0000)
libraries/libldap/tls2.c

index e73ace5ce0907371944499cd3456ed211602dbea..871ffe574c0f444c1a57e9bbd09e29aeedefa193 100644 (file)
@@ -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;