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
commit8c6d0b14d21df96627f6b3ff8430f8b0e3921ea1 (patch)
tree4ddf54d828aab78409ab1158c950cbbedb1d9d2e /src/usr.bin/openssl/ca.c
parent9480ccd0f85763578f4bb5f1b4b39e98da340d0f (diff)
downloadopenbsd-8c6d0b14d21df96627f6b3ff8430f8b0e3921ea1.tar.gz
openbsd-8c6d0b14d21df96627f6b3ff8430f8b0e3921ea1.tar.bz2
openbsd-8c6d0b14d21df96627f6b3ff8430f8b0e3921ea1.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");