]> git.sur5r.net Git - openldap/commitdiff
Fix ssf declaration
authorKurt Zeilenga <kurt@openldap.org>
Wed, 17 Apr 2002 17:56:30 +0000 (17:56 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Wed, 17 Apr 2002 17:56:30 +0000 (17:56 +0000)
servers/slapd/sasl.c

index 803898e259ba09bd6467c3c92ab5caedfb7f2fee..87f29735aa7394ed3eb00b9b33cc563f2d3d0a3d 100644 (file)
@@ -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;