Fix hostname validation in the command-line tool to honour negative return values.
[openssl.git] / apps / s_cb.c
index eb8994952591be4470df9cbabd283cc0fdb9ade6..eef86cb77b46c04feb8c9484857e38e7bc8ed607 100644 (file)
@@ -812,10 +812,6 @@ void msg_cb(int write_p, int version, int content_type, const void *buf,
 
         BIO_printf(bio, "   ");
         num = len;
-#if 0
-        if (num > 16)
-            num = 16;
-#endif
         for (i = 0; i < num; i++) {
             if (i % 16 == 0 && i > 0)
                 BIO_printf(bio, "\n   ");