Commit cd6657fd authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

SLAP_NVALUES: fix UTF8StringNormalize

	tests 0-2 now run correctly
parent 64b62162
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment