Fix negated tests in IA5StringNormalize and numericStringNormalize.

This commit is contained in:
Mark Valence 2000-06-28 05:29:09 +00:00
parent 11ccf96104
commit 16f2a29c23

View File

@ -534,7 +534,7 @@ IA5StringNormalize(
p++;
}
if( *p != '\0' ) {
if( *p == '\0' ) {
ch_free( newval );
return LDAP_INVALID_SYNTAX;
}
@ -1112,7 +1112,7 @@ numericStringNormalize(
p++;
}
if( *p != '\0' ) {
if( *p == '\0' ) {
ch_free( newval );
return LDAP_INVALID_SYNTAX;
}