mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-24 13:24:56 +08:00
SLAP_NVALUES: fix UTF8StringNormalize
tests 0-2 now run correctly
This commit is contained in:
parent
64b621620b
commit
cd6657fdf0
@ -743,7 +743,7 @@ UTF8StringNormalize(
|
||||
}
|
||||
|
||||
flags = SLAP_MR_ASSOCIATED(mr, slap_schema.si_mr_caseExactMatch )
|
||||
? LDAP_UTF8_CASEFOLD : LDAP_UTF8_NOCASEFOLD;
|
||||
? LDAP_UTF8_NOCASEFOLD : LDAP_UTF8_CASEFOLD;
|
||||
flags |= ( use & SLAP_MR_EQUALITY_APPROX == SLAP_MR_EQUALITY_APPROX )
|
||||
? LDAP_UTF8_APPROX : 0;
|
||||
|
||||
@ -783,6 +783,7 @@ UTF8StringNormalize(
|
||||
nvalue.bv_len = 1;
|
||||
}
|
||||
|
||||
*normalized = nvalue;
|
||||
return LDAP_SUCCESS;
|
||||
}
|
||||
#else
|
||||
|
Loading…
Reference in New Issue
Block a user