summaryrefslogtreecommitdiff
path: root/apps/ecparam.c
diff options
context:
space:
mode:
authorGeoff Thorpe <geoff@openssl.org>2004-03-25 03:03:52 +0000
committerGeoff Thorpe <geoff@openssl.org>2004-03-25 03:03:52 +0000
commit514871099478191c10cf600cf32758e6ae781058 (patch)
treebccbbff0815f77dcde681d7f67e2200fe77e7109 /apps/ecparam.c
parentea77fc33807c9fc66f10c9d6f5176f4df1adb631 (diff)
downloadopenssl-new-514871099478191c10cf600cf32758e6ae781058.tar.gz
Adds warnings about two curves and fixes the "seed" value for two other
curves. Submitted by: Nils Larsch
Diffstat (limited to 'apps/ecparam.c')
-rw-r--r--apps/ecparam.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/apps/ecparam.c b/apps/ecparam.c
index 06e4d66021..ae046f9a8d 100644
--- a/apps/ecparam.c
+++ b/apps/ecparam.c
@@ -342,7 +342,6 @@ bad:
EC_builtin_curve *curves = NULL;
size_t crv_len = 0;
size_t n = 0;
- size_t len;
crv_len = EC_get_builtin_curves(NULL, 0);
@@ -369,11 +368,8 @@ bad:
if (sname == NULL)
sname = "";
- len = BIO_printf(out, " %-10s: ", sname);
- if (len + strlen(comment) > 80)
- BIO_printf(out, "\n%80s\n", comment);
- else
- BIO_printf(out, "%s\n", comment);
+ BIO_printf(out, " %-10s: ", sname);
+ BIO_printf(out, "%s\n", comment);
}
OPENSSL_free(curves);