From 7ee5d2612b830ee54cc5baa7768f0cda877bc675 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Wed, 17 Apr 2002 17:56:30 +0000 Subject: [PATCH] Fix ssf declaration --- servers/slapd/sasl.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- 2.39.5