summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>1999-05-17 08:28:37 +0000
committerBodo Möller <bodo@openssl.org>1999-05-17 08:28:37 +0000
commit3f45ed82dc633093db2c4d1959269a153e7cf6bb (patch)
tree73572521e50669d6c30d9fdb5703b096ffa73c27 /apps
parent8e93f12ee8f9fa6f4ea239f0c2eccff6ec10356b (diff)
Rename "openssl x509" option "-config" to "-extfile", because it
doesn't have a default value like the "-config" options of other openssl subprograms.
Diffstat (limited to 'apps')
-rw-r--r--apps/openssl.cnf2
-rw-r--r--apps/x509.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/apps/openssl.cnf b/apps/openssl.cnf
index 5ecc21571a..8ec117ddd2 100644
--- a/apps/openssl.cnf
+++ b/apps/openssl.cnf
@@ -7,7 +7,7 @@ RANDFILE = $ENV::HOME/.rnd
oid_file = $ENV::HOME/.oid
oid_section = new_oids
-# To use this configuration file with the "-config" option of the
+# To use this configuration file with the "-extfile" option of the
# "openssl x509" utility, name here the section containing the
# X.509v3 extensions to use:
# extensions =
diff --git a/apps/x509.c b/apps/x509.c
index 5434b53365..cc48247862 100644
--- a/apps/x509.c
+++ b/apps/x509.c
@@ -114,7 +114,7 @@ static char *x509_usage[]={
" -text - print the certificate in text form\n",
" -C - print out C code forms\n",
" -md2/-md5/-sha1/-mdc2 - digest to do an RSA sign with\n",
-" -config - configuration file with X509V3 extensions to add\n",
+" -extfile - configuration file with X509V3 extensions to add\n",
NULL
};
@@ -213,7 +213,7 @@ int MAIN(int argc, char **argv)
goto bad;
}
}
- else if (strcmp(*argv,"-config") == 0)
+ else if (strcmp(*argv,"-extfile") == 0)
{
if (--argc < 1) goto bad;
extfile= *(++argv);