From: Howard Chu Date: Mon, 3 Nov 2003 07:00:16 +0000 (+0000) Subject: Fix ASCII_HEX tests X-Git-Tag: OPENLDAP_REL_ENG_2_1_MP~466 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f2e1d7434bc42f1e45ba725838bf761f8697f171;p=openldap Fix ASCII_HEX tests --- diff --git a/servers/slapd/slap.h b/servers/slapd/slap.h index 5d4a5967b7..4be38925d1 100644 --- a/servers/slapd/slap.h +++ b/servers/slapd/slap.h @@ -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) )