Remove some dead code
authorMatt Caswell <matt@openssl.org>
Fri, 15 Apr 2016 13:01:41 +0000 (14:01 +0100)
committerMatt Caswell <matt@openssl.org>
Thu, 21 Apr 2016 09:51:57 +0000 (10:51 +0100)
Reviewed-by: Richard Levitte <levitte@openssl.org>
apps/s_cb.c

index abcbad4738299f35dc04c0e7cfc3e7de54f7cd34..ad241f8000b7da96ea4094b0db834067f60598f3 100644 (file)
@@ -406,8 +406,6 @@ int ssl_print_point_formats(BIO *out, SSL *s)
 
         }
     }
-    if (nformats <= 0)
-        BIO_puts(out, "NONE");
     BIO_puts(out, "\n");
     return 1;
 }
@@ -439,8 +437,6 @@ int ssl_print_curves(BIO *out, SSL *s, int noshared)
             BIO_printf(out, "%s", cname);
         }
     }
-    if (ncurves == 0)
-        BIO_puts(out, "NONE");
     OPENSSL_free(curves);
     if (noshared) {
         BIO_puts(out, "\n");