From f1cece554ddf282f1512b4da04664467746ffd24 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Tue, 7 Jul 2015 11:13:20 +0200 Subject: Make "oneline" the default for nameopt There's no reason why we should default to a output format that is old, and confusing in some cases. This affects the commands "ca", "crl", "req" and "x509". Reviewed-by: Rich Salz --- apps/ca.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'apps/ca.c') diff --git a/apps/ca.c b/apps/ca.c index a0f9f7955a..0a8d7b7417 100644 --- a/apps/ca.c +++ b/apps/ca.c @@ -325,7 +325,7 @@ opthelp: ret = 0; goto end; case OPT_IN: - req = 1; + req = 1; infile = opt_arg(); break; case OPT_OUT: @@ -638,8 +638,10 @@ end_of_options: goto end; } default_op = 0; - } else + } else { + nameopt = XN_FLAG_ONELINE; ERR_clear_error(); + } f = NCONF_get_string(conf, section, ENV_CERTOPT); -- cgit v1.2.3