summaryrefslogtreecommitdiffstats
path: root/apps/ca.c
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2015-07-07 11:13:20 +0200
committerRichard Levitte <levitte@openssl.org>2015-07-07 11:17:14 +0200
commitf1cece554ddf282f1512b4da04664467746ffd24 (patch)
tree1a3dd22c2dc43c19c2ac420c45e942953f5644df /apps/ca.c
parent5727582cf51e98e5e0faa435e7da2c8929533c0d (diff)
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 <rsalz@openssl.org>
Diffstat (limited to 'apps/ca.c')
-rw-r--r--apps/ca.c6
1 files changed, 4 insertions, 2 deletions
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);