From: Kurt Zeilenga Date: Wed, 17 Apr 2002 17:56:30 +0000 (+0000) Subject: Fix ssf declaration X-Git-Tag: OPENLDAP_REL_ENG_2_MP~177 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=7ee5d2612b830ee54cc5baa7768f0cda877bc675;p=openldap Fix ssf declaration --- diff --git a/servers/slapd/sasl.c b/servers/slapd/sasl.c index 803898e259..87f29735aa 100644 --- a/servers/slapd/sasl.c +++ b/servers/slapd/sasl.c @@ -1108,10 +1108,11 @@ int slap_sasl_bind( NULL, "no SASL username", NULL, NULL ); } else { + sasl_ssf_t *ssf = NULL; + rc = LDAP_SUCCESS; ber_str2bv( username, 0, 1, edn ); - sasl_ssf_t *ssf = NULL; (void) sasl_getprop( ctx, SASL_SSF, (void *)&ssf ); *ssfp = ssf ? *ssf : 0;