Skip to content
Snippets Groups Projects
Commit f443af5a authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

Remove unneeded cheats. hyc found/fixed my bug (in slap.h)

parent 5ccff70a
Branches
Tags
No related merge requests found
......@@ -351,9 +351,6 @@ dnNormalize(
out = ber_bvdup( val );
}
/* FIXME: cheat! */
ldap_pvt_str2upper( out->bv_val );
Debug( LDAP_DEBUG_TRACE, "<<< dnNormalize: <%s>\n", out->bv_val, 0, 0 );
*normalized = out;
......@@ -424,9 +421,6 @@ dnPretty(
/*
* dnMatch routine
*
* FIXME: strcasecmp should be replaced with strcmp once
* value normalization issues are sorted out.
*/
int
dnMatch(
......@@ -447,7 +441,7 @@ dnMatch(
match = value->bv_len - asserted->bv_len;
if ( match == 0 ) {
match = strcasecmp( value->bv_val, asserted->bv_val );
match = strcmp( value->bv_val, asserted->bv_val );
}
#ifdef NEW_LOGGING
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment