mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-02-23 14:09:39 +08:00
ITS#5368 partially revert 1.239
This commit is contained in:
parent
525f266d10
commit
d64f5be105
@ -216,7 +216,8 @@ sasl_ap_lookup( Operation *op, SlapReply *rs )
|
||||
* past the scheme name, skip this value.
|
||||
*/
|
||||
#ifdef SLAPD_CLEARTEXT
|
||||
if ( !ber_bvstrcasecmp( bv, &sc_cleartext ) ) {
|
||||
if ( !strncasecmp( bv->bv_val, sc_cleartext.bv_val,
|
||||
sc_cleartext.bv_len )) {
|
||||
struct berval cbv;
|
||||
cbv.bv_len = bv->bv_len - sc_cleartext.bv_len;
|
||||
if ( cbv.bv_len > 0 ) {
|
||||
|
Loading…
Reference in New Issue
Block a user