mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
Minor cleanup of last commit
This commit is contained in:
parent
fb852d7d80
commit
22688a7ad6
@ -636,10 +636,9 @@ int slap_sasl_bind(
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ( !conn->c_sasl_bind_in_progress ) {
|
if ( !conn->c_sasl_bind_in_progress ) {
|
||||||
const char *kludge = "";
|
|
||||||
sc = sasl_server_start( ctx,
|
sc = sasl_server_start( ctx,
|
||||||
conn->c_sasl_bind_mech,
|
conn->c_sasl_bind_mech,
|
||||||
cred->bv_len ? cred->bv_val : kludge,
|
cred->bv_len ? cred->bv_val : "",
|
||||||
cred->bv_len,
|
cred->bv_len,
|
||||||
(char **)&response.bv_val, &reslen, &errstr );
|
(char **)&response.bv_val, &reslen, &errstr );
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user