From: Howard Chu Date: Wed, 30 Apr 2003 16:00:36 +0000 (+0000) Subject: Fix prev commit X-Git-Tag: OPENLDAP_REL_ENG_2_2_0ALPHA~193 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=04c5d82817667a5144e68a4b4f9194af8d6e8bf7;p=openldap Fix prev commit --- diff --git a/servers/slapd/sasl.c b/servers/slapd/sasl.c index 7802516c66..adbaf79a66 100644 --- a/servers/slapd/sasl.c +++ b/servers/slapd/sasl.c @@ -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 );