diff --git a/crypto/asn1/a_print.c b/crypto/asn1/a_print.c
index d18e772..2e4c5b5 100644
--- a/crypto/asn1/a_print.c
+++ b/crypto/asn1/a_print.c
@@ -75,7 +75,6 @@ int ASN1_PRINTABLE_type(const 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 == ')') ||
diff --git a/ssl/d1_pkt.c b/ssl/d1_pkt.c
index b7ff9a8..0b5e0e3 100644
--- a/ssl/d1_pkt.c
+++ b/ssl/d1_pkt.c
@@ -757,9 +757,8 @@ int dtls1_read_bytes(SSL *s, int type, unsigned char *buf, int len, int peek)
 		if (!ssl3_setup_buffers(s))
 			return(-1);
 
-    /* XXX: check what the second '&& type' is about */
 	if ((type && (type != SSL3_RT_APPLICATION_DATA) && 
-		(type != SSL3_RT_HANDSHAKE) && type) ||
+		(type != SSL3_RT_HANDSHAKE)) ||
 	    (peek && (type != SSL3_RT_APPLICATION_DATA)))
 		{
 		SSLerr(SSL_F_DTLS1_READ_BYTES, ERR_R_INTERNAL_ERROR);
diff --git a/ssl/s3_pkt.c b/ssl/s3_pkt.c
index 8056291..59ee198 100644
--- a/ssl/s3_pkt.c
+++ b/ssl/s3_pkt.c
@@ -952,7 +952,7 @@ int ssl3_read_bytes(SSL *s, int type, unsigned char *buf, int len, int peek)
 		if (!ssl3_setup_read_buffer(s))
 			return(-1);
 
-	if ((type && (type != SSL3_RT_APPLICATION_DATA) && (type != SSL3_RT_HANDSHAKE) && type) ||
+	if ((type && (type != SSL3_RT_APPLICATION_DATA) && (type != SSL3_RT_HANDSHAKE)) ||
 	    (peek && (type != SSL3_RT_APPLICATION_DATA)))
 		{
 		SSLerr(SSL_F_SSL3_READ_BYTES, ERR_R_INTERNAL_ERROR);
