summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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");