mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-12 10:54:48 +08:00
Fix ASCII_HEX tests
This commit is contained in:
parent
8acb1a0466
commit
f2e1d7434b
@ -96,8 +96,8 @@ LDAP_BEGIN_DECL
|
||||
#define ASCII_UPPER(c) ( (c) >= 'A' && (c) <= 'Z' )
|
||||
#define ASCII_ALPHA(c) ( ASCII_LOWER(c) || ASCII_UPPER(c) )
|
||||
#define ASCII_DIGIT(c) ( (c) >= '0' && (c) <= '9' )
|
||||
#define ASCII_HEXLOWER(c) ( (c) >= 'a' && (c) <= 'h' )
|
||||
#define ASCII_HEXUPPER(c) ( (c) >= 'A' && (c) <= 'H' )
|
||||
#define ASCII_HEXLOWER(c) ( (c) >= 'a' && (c) <= 'f' )
|
||||
#define ASCII_HEXUPPER(c) ( (c) >= 'A' && (c) <= 'F' )
|
||||
#define ASCII_HEX(c) ( ASCII_DIGIT(c) || \
|
||||
ASCII_HEXLOWER(c) || ASCII_HEXUPPER(c) )
|
||||
#define ASCII_ALNUM(c) ( ASCII_ALPHA(c) || ASCII_DIGIT(c) )
|
||||
|
Loading…
Reference in New Issue
Block a user