From: Nikos Mavrogiannopoulos Date: Wed, 21 Nov 2012 20:38:40 +0000 (+0100) Subject: removed redundant check X-Git-Tag: gnutls_3_1_5~14 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fcd18567c570671284cd06b2f6e68e77df7e9268;p=thirdparty%2Fgnutls.git removed redundant check --- diff --git a/lib/x509/dn.c b/lib/x509/dn.c index 238e28ed86..89a07e6a42 100644 --- a/lib/x509/dn.c +++ b/lib/x509/dn.c @@ -627,8 +627,8 @@ static int is_printable(char p) { if ((p >= 'a' && p <= 'z') || (p >= 'A' && p <= 'Z') || (p >= '0' && p <= '9') || p == ' ' || p == '(' || p == ')' || - p == '(' || p == '+' || p == ',' || p == '-' || p == '.' || - p == '/' || p == ':' || p == '=' || p == '?') + p == '+' || p == ',' || p == '-' || p == '.' || p == '/' || + p == ':' || p == '=' || p == '?') return 1; return 0;