summaryrefslogtreecommitdiffstats
path: root/apps/ca.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>1999-05-08 12:59:50 +0000
committerDr. Stephen Henson <steve@openssl.org>1999-05-08 12:59:50 +0000
commite40b7abeed32f51f57e4578254aa1559762a8ea2 (patch)
treeba10e1d031a321c1023aee388ff255c70d987890 /apps/ca.c
parent7e797a06c3eeac137eeb2e5743a7982bb5636841 (diff)
Allows PKCS#12 password to be placed on command line and add allow config
file name for 'ca' to come from the environment.
Diffstat (limited to 'apps/ca.c')
-rw-r--r--apps/ca.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/ca.c b/apps/ca.c
index efcd817311..323eb8525f 100644
--- a/apps/ca.c
+++ b/apps/ca.c
@@ -390,6 +390,8 @@ bad:
ERR_load_crypto_strings();
/*****************************************************************/
+ if (configfile == NULL) configfile = getenv("OPENSSL_CONF");
+ if (configfile == NULL) configfile = getenv("SSLEAY_CONF");
if (configfile == NULL)
{
/* We will just use 'buf[0]' as a temporary buffer. */