From 0491a7df614251e0359263710d30e525e5c047d0 Mon Sep 17 00:00:00 2001 From: doug <> Date: Mon, 20 Jul 2015 03:02:46 +0000 Subject: Remove check that is never true. Fixes coverity issue 78799 as group == NULL was already an error condition above here. ok beck@ --- src/usr.bin/openssl/ecparam.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src') diff --git a/src/usr.bin/openssl/ecparam.c b/src/usr.bin/openssl/ecparam.c index 5922c1803a..361d2350fa 100644 --- a/src/usr.bin/openssl/ecparam.c +++ b/src/usr.bin/openssl/ecparam.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ecparam.c,v 1.9 2015/06/20 14:24:49 jsing Exp $ */ +/* $OpenBSD: ecparam.c,v 1.10 2015/07/20 03:02:46 doug Exp $ */ /* * Written by Nils Larsch for the OpenSSL project. */ @@ -406,8 +406,6 @@ ecparam_main(int argc, char **argv) goto end; } if (ecparam_config.check) { - if (group == NULL) - BIO_printf(bio_err, "no elliptic curve parameters\n"); BIO_printf(bio_err, "checking elliptic curve parameters: "); if (!EC_GROUP_check(group, NULL)) { BIO_printf(bio_err, "failed\n"); -- cgit v1.2.3-55-g6feb