From: Howard Chu Date: Wed, 17 Apr 2002 19:47:34 +0000 (+0000) Subject: Delete more unused code, no need to fetch REALM in slap_sasl_bind X-Git-Tag: OPENLDAP_REL_ENG_2_MP~175 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b3c7c9e3ceb4209cb32846446e73a6d324c2fd30;p=openldap Delete more unused code, no need to fetch REALM in slap_sasl_bind --- diff --git a/servers/slapd/sasl.c b/servers/slapd/sasl.c index 87f29735aa..fb5e698141 100644 --- a/servers/slapd/sasl.c +++ b/servers/slapd/sasl.c @@ -1083,13 +1083,7 @@ int slap_sasl_bind( if ( sc == SASL_OK ) { char *username = NULL; - char *realm = NULL; -#if SASL_VERSION_MAJOR >= 2 - sc = sasl_getprop( ctx, SASL_DEFUSERREALM, (const void **)&realm ); -#else - sc = sasl_getprop( ctx, SASL_REALM, (void **)&realm ); -#endif sc = sasl_getprop( ctx, SASL_USERNAME, (SASL_CONST void **)&username );