mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-23 16:19:35 -05:00
SLAP_NVALUES: fix UTF8StringNormalize
tests 0-2 now run correctly
This commit is contained in:
parent
64b621620b
commit
cd6657fdf0
1 changed files with 2 additions and 1 deletions
|
|
@ -743,7 +743,7 @@ UTF8StringNormalize(
|
||||||
}
|
}
|
||||||
|
|
||||||
flags = SLAP_MR_ASSOCIATED(mr, slap_schema.si_mr_caseExactMatch )
|
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 )
|
flags |= ( use & SLAP_MR_EQUALITY_APPROX == SLAP_MR_EQUALITY_APPROX )
|
||||||
? LDAP_UTF8_APPROX : 0;
|
? LDAP_UTF8_APPROX : 0;
|
||||||
|
|
||||||
|
|
@ -783,6 +783,7 @@ UTF8StringNormalize(
|
||||||
nvalue.bv_len = 1;
|
nvalue.bv_len = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
*normalized = nvalue;
|
||||||
return LDAP_SUCCESS;
|
return LDAP_SUCCESS;
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue