diff options
author | 2015-07-20 03:02:46 +0000 | |
---|---|---|
committer | 2015-07-20 03:02:46 +0000 | |
commit | a1126e22a869bab0d70acccfc456851dc80c85ab (patch) | |
tree | 5948ac1bd4446cc58edcd3f7caa7d2be6ee20467 | |
parent | In TAME_IOCTL, permit BIOCGSTATS on a vnode. We don't drill down deeper (diff) | |
download | wireguard-openbsd-a1126e22a869bab0d70acccfc456851dc80c85ab.tar.xz wireguard-openbsd-a1126e22a869bab0d70acccfc456851dc80c85ab.zip |
Remove check that is never true.
Fixes coverity issue 78799 as group == NULL was already an error
condition above here.
ok beck@
-rw-r--r-- | usr.bin/openssl/ecparam.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.bin/openssl/ecparam.c b/usr.bin/openssl/ecparam.c index 5922c1803ad..361d2350faa 100644 --- a/usr.bin/openssl/ecparam.c +++ b/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"); |