mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
minor cleanup
This commit is contained in:
parent
e6065fb20d
commit
96fe39e99f
@ -308,11 +308,9 @@ do_bind(
|
|||||||
ber_dupbv( &op->o_conn->c_ndn, &op->o_conn->c_dn );
|
ber_dupbv( &op->o_conn->c_ndn, &op->o_conn->c_dn );
|
||||||
}
|
}
|
||||||
op->o_tmpfree( op->orb_edn.bv_val, op->o_tmpmemctx );
|
op->o_tmpfree( op->orb_edn.bv_val, op->o_tmpmemctx );
|
||||||
op->orb_edn.bv_val = NULL;
|
BER_BVZERO( &op->orb_edn );
|
||||||
op->orb_edn.bv_len = 0;
|
|
||||||
op->o_conn->c_authmech = op->o_conn->c_sasl_bind_mech;
|
op->o_conn->c_authmech = op->o_conn->c_sasl_bind_mech;
|
||||||
op->o_conn->c_sasl_bind_mech.bv_val = NULL;
|
BER_BVZERO( &op->o_conn->c_sasl_bind_mech );
|
||||||
op->o_conn->c_sasl_bind_mech.bv_len = 0;
|
|
||||||
op->o_conn->c_sasl_bind_in_progress = 0;
|
op->o_conn->c_sasl_bind_in_progress = 0;
|
||||||
|
|
||||||
op->o_conn->c_sasl_ssf = op->orb_ssf;
|
op->o_conn->c_sasl_ssf = op->orb_ssf;
|
||||||
|
Loading…
Reference in New Issue
Block a user