mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-04 06:01:23 -05:00
so SIDs are hex
This commit is contained in:
parent
02e5d89c43
commit
2082935657
1 changed files with 3 additions and 3 deletions
|
|
@ -3493,9 +3493,9 @@ SIDNormalize(
|
|||
return LDAP_INVALID_SYNTAX;
|
||||
}
|
||||
|
||||
if ( !ASCII_DIGIT( val->bv_val[ 0 ] ) ||
|
||||
!ASCII_DIGIT( val->bv_val[ 1 ] ) ||
|
||||
!ASCII_DIGIT( val->bv_val[ 2 ] ) )
|
||||
if ( !ASCII_HEX( val->bv_val[ 0 ] ) ||
|
||||
!ASCII_HEX( val->bv_val[ 1 ] ) ||
|
||||
!ASCII_HEX( val->bv_val[ 2 ] ) )
|
||||
{
|
||||
return LDAP_INVALID_SYNTAX;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue