mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
Fix negated tests in IA5StringNormalize and numericStringNormalize.
This commit is contained in:
parent
11ccf96104
commit
16f2a29c23
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user