]> git.sur5r.net Git - openldap/commitdiff
Fix prev commit
authorHoward Chu <hyc@openldap.org>
Wed, 30 Apr 2003 16:00:36 +0000 (16:00 +0000)
committerHoward Chu <hyc@openldap.org>
Wed, 30 Apr 2003 16:00:36 +0000 (16:00 +0000)
servers/slapd/sasl.c

index 7802516c66df943852d07ecbe47d5bc0e3fcd320..adbaf79a66aeca1a7b9f99b2270ccf6813469a0e 100644 (file)
@@ -1238,10 +1238,10 @@ int slap_sasl_external(
 int slap_sasl_reset( Connection *conn )
 {
        int rc = LDAP_SUCCESS;
+#ifdef HAVE_CYRUS_SASL
        sasl_conn_t *ctx = conn->c_sasl_context;
        slap_ssf_t ssf = 0;
        const char *authid = NULL;
-#ifdef HAVE_CYRUS_SASL
 #if SASL_VERSION_MAJOR >= 2
        sasl_getprop( ctx, SASL_SSF_EXTERNAL, &ssf );
        sasl_getprop( ctx, SASL_AUTH_EXTERNAL, &authid );