From fcb037f34cfacf3f961955d3f2d0839ce69920a5 Mon Sep 17 00:00:00 2001 From: vakwetu Date: Sat, 22 Jan 2011 06:17:39 +0000 Subject: Bugzilla BZ 606944: Convert TPS to use ldap utilities and API from OpenLDAP instead of the Mozldap git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@1766 c9f7a03b-bd48-0410-a16d-cbbf54688b0b --- pki/base/tps/src/main/Util.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'pki/base/tps/src/main/Util.cpp') 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) -- cgit