summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordoug <>2015-07-20 03:02:46 +0000
committerdoug <>2015-07-20 03:02:46 +0000
commit0491a7df614251e0359263710d30e525e5c047d0 (patch)
tree31c00ba43785d2dfed2d612bed8142463d13c6b8 /src
parent9a0c50924ad1a4ad25acfcb4f9170bcae57ef3e7 (diff)
downloadopenbsd-0491a7df614251e0359263710d30e525e5c047d0.tar.gz
openbsd-0491a7df614251e0359263710d30e525e5c047d0.tar.bz2
openbsd-0491a7df614251e0359263710d30e525e5c047d0.zip
Remove check that is never true.
Fixes coverity issue 78799 as group == NULL was already an error condition above here. ok beck@
Diffstat (limited to 'src')
-rw-r--r--src/usr.bin/openssl/ecparam.c4
1 files changed, 1 insertions, 3 deletions
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 @@
1/* $OpenBSD: ecparam.c,v 1.9 2015/06/20 14:24:49 jsing Exp $ */ 1/* $OpenBSD: ecparam.c,v 1.10 2015/07/20 03:02:46 doug Exp $ */
2/* 2/*
3 * Written by Nils Larsch for the OpenSSL project. 3 * Written by Nils Larsch for the OpenSSL project.
4 */ 4 */
@@ -406,8 +406,6 @@ ecparam_main(int argc, char **argv)
406 goto end; 406 goto end;
407 } 407 }
408 if (ecparam_config.check) { 408 if (ecparam_config.check) {
409 if (group == NULL)
410 BIO_printf(bio_err, "no elliptic curve parameters\n");
411 BIO_printf(bio_err, "checking elliptic curve parameters: "); 409 BIO_printf(bio_err, "checking elliptic curve parameters: ");
412 if (!EC_GROUP_check(group, NULL)) { 410 if (!EC_GROUP_check(group, NULL)) {
413 BIO_printf(bio_err, "failed\n"); 411 BIO_printf(bio_err, "failed\n");