diff options
Diffstat (limited to 'pki/base/tps/src/main/Util.cpp')
| -rw-r--r-- | pki/base/tps/src/main/Util.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pki/base/tps/src/main/Util.cpp b/pki/base/tps/src/main/Util.cpp index 7b6bba337..2849121e4 100644 --- a/pki/base/tps/src/main/Util.cpp +++ b/pki/base/tps/src/main/Util.cpp @@ -96,9 +96,9 @@ TPS_PUBLIC BYTE* Util::bool2byte(bool b) { static int isAlphaNumeric (char ch) { - return ((ch >='a') && (ch <= 'z') || /* logical AND &&, OR || */ - (ch >='A') && (ch <= 'Z') || - (ch >='0') && (ch <= '9') ); + return (((ch >='a') && (ch <= 'z')) || /* logical AND &&, OR || */ + ((ch >='A') && (ch <= 'Z')) || + ((ch >='0') && (ch <= '9')) ); } static char bin2hex (BYTE ch) |
