summaryrefslogtreecommitdiff
path: root/src/usr.bin/openssl/ca.c
diff options
context:
space:
mode:
authorlteo <>2015-09-12 19:34:07 +0000
committerlteo <>2015-09-12 19:34:07 +0000
commit4ba4f1781a267e49f79cabb109294a61d12f84a0 (patch)
tree4ddf54d828aab78409ab1158c950cbbedb1d9d2e /src/usr.bin/openssl/ca.c
parent5b7d466b6eec87df20f4bdebf660cec3c5c7a9a8 (diff)
downloadopenbsd-4ba4f1781a267e49f79cabb109294a61d12f84a0.tar.gz
openbsd-4ba4f1781a267e49f79cabb109294a61d12f84a0.tar.bz2
openbsd-4ba4f1781a267e49f79cabb109294a61d12f84a0.zip
Nuke SSLEAY_CONF -- a backwards compatibility environment variable that
has been superseded by OPENSSL_CONF and discouraged from use for almost 16 years. "Definately ok" jsing@ "burn it" deraadt@ "Kill it with fire" miod@ "KILL IT WITH FIRE!!! BURN!!!!" beck@
Diffstat (limited to 'src/usr.bin/openssl/ca.c')
-rw-r--r--src/usr.bin/openssl/ca.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/usr.bin/openssl/ca.c b/src/usr.bin/openssl/ca.c
index 0a02c910d9..c9419ee7a7 100644
--- a/src/usr.bin/openssl/ca.c
+++ b/src/usr.bin/openssl/ca.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ca.c,v 1.13 2015/09/11 18:07:06 beck Exp $ */ 1/* $OpenBSD: ca.c,v 1.14 2015/09/12 19:34:07 lteo Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -497,8 +497,6 @@ bad:
497 tofree = NULL; 497 tofree = NULL;
498 if (configfile == NULL) 498 if (configfile == NULL)
499 configfile = getenv("OPENSSL_CONF"); 499 configfile = getenv("OPENSSL_CONF");
500 if (configfile == NULL)
501 configfile = getenv("SSLEAY_CONF");
502 if (configfile == NULL) { 500 if (configfile == NULL) {
503 if ((tofree = make_config_name()) == NULL) { 501 if ((tofree = make_config_name()) == NULL) {
504 BIO_printf(bio_err, "error making config file name\n"); 502 BIO_printf(bio_err, "error making config file name\n");