RT3023: Redundant logical expressions
[openssl.git] / crypto / asn1 / a_print.c
index 8035513f04789673ab23a966dac9ba73b66cca3b..2e4c5b5f13cf5e5a5c8fe6a245395e1e593abae5 100644 (file)
@@ -60,7 +60,7 @@
 #include "cryptlib.h"
 #include <openssl/asn1.h>
 
-int ASN1_PRINTABLE_type(unsigned char *s, int len)
+int ASN1_PRINTABLE_type(const unsigned char *s, int len)
        {
        int c;
        int ia5=0;
@@ -75,7 +75,6 @@ int ASN1_PRINTABLE_type(unsigned char *s, int len)
 #ifndef CHARSET_EBCDIC
                if (!(  ((c >= 'a') && (c <= 'z')) ||
                        ((c >= 'A') && (c <= 'Z')) ||
-                       (c == ' ') ||
                        ((c >= '0') && (c <= '9')) ||
                        (c == ' ') || (c == '\'') ||
                        (c == '(') || (c == ')') ||