summaryrefslogtreecommitdiffstats
path: root/apps/req.c
diff options
context:
space:
mode:
authorRalf S. Engelschall <rse@openssl.org>1999-01-02 12:59:33 +0000
committerRalf S. Engelschall <rse@openssl.org>1999-01-02 12:59:33 +0000
commit06d5b16225077cb45f7ef9b6f59837c54db02658 (patch)
tree9d2bf287a8fa3a936371663e2d7b408ecb55e9ee /apps/req.c
parent0491b70983f90db2ec2e95951f87ba2f0c2a0ce7 (diff)
First cut of a cleanup for apps/. First the `ssleay' program is now named
`openssl' and second, the shortcut symlinks for the `openssl <command>' are no longer created. This way we have a single and consistent command line interface `openssl <command>', similar to `cvs <command>'. Notice, the openssl.cnf, openssl.c and progs.pl files were changed after a repository copy, i.e. they still contain the complete file history.
Diffstat (limited to 'apps/req.c')
-rw-r--r--apps/req.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/req.c b/apps/req.c
index 50802f52ca..17f58d07cb 100644
--- a/apps/req.c
+++ b/apps/req.c
@@ -357,12 +357,14 @@ bad:
#ifndef MONOLITH
/* Lets load up our environment a little */
- p=getenv("SSLEAY_CONF");
+ p=getenv("OPENSSL_CONF");
+ if (p == NULL)
+ p=getenv("SSLEAY_CONF");
if (p == NULL)
{
strcpy(config_name,X509_get_default_cert_area());
strcat(config_name,"/lib/");
- strcat(config_name,SSLEAY_CONF);
+ strcat(config_name,OPENSSL_CONF);
p=config_name;
}
default_config_file=p;