summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/usr.bin/openssl/ca.c4
-rw-r--r--src/usr.bin/openssl/openssl.17
-rw-r--r--src/usr.bin/openssl/openssl.c4
-rw-r--r--src/usr.bin/openssl/ts.c4
4 files changed, 5 insertions, 14 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");
diff --git a/src/usr.bin/openssl/openssl.1 b/src/usr.bin/openssl/openssl.1
index 7e4937207d..efa264fc9d 100644
--- a/src/usr.bin/openssl/openssl.1
+++ b/src/usr.bin/openssl/openssl.1
@@ -1,4 +1,4 @@
1.\" $OpenBSD: openssl.1,v 1.22 2015/09/11 14:30:23 bcook Exp $ 1.\" $OpenBSD: openssl.1,v 1.23 2015/09/12 19:34:07 lteo Exp $
2.\" ==================================================================== 2.\" ====================================================================
3.\" Copyright (c) 1998-2002 The OpenSSL Project. All rights reserved. 3.\" Copyright (c) 1998-2002 The OpenSSL Project. All rights reserved.
4.\" 4.\"
@@ -112,7 +112,7 @@
112.\" 112.\"
113.\" OPENSSL 113.\" OPENSSL
114.\" 114.\"
115.Dd $Mdocdate: September 11 2015 $ 115.Dd $Mdocdate: September 12 2015 $
116.Dt OPENSSL 1 116.Dt OPENSSL 1
117.Os 117.Os
118.Sh NAME 118.Sh NAME
@@ -5779,9 +5779,6 @@ if defined, allows an alternative configuration
5779file location to be specified; it will be overridden by the 5779file location to be specified; it will be overridden by the
5780.Fl config 5780.Fl config
5781command line switch if it is present. 5781command line switch if it is present.
5782For compatibility reasons the
5783.Ev SSLEAY_CONF
5784environment variable serves the same purpose but its use is discouraged.
5785.Sh REQ BUGS 5782.Sh REQ BUGS
5786.Nm OpenSSL Ns Li 's 5783.Nm OpenSSL Ns Li 's
5787handling of T61Strings 5784handling of T61Strings
diff --git a/src/usr.bin/openssl/openssl.c b/src/usr.bin/openssl/openssl.c
index 0361d1cbb4..653329f7c6 100644
--- a/src/usr.bin/openssl/openssl.c
+++ b/src/usr.bin/openssl/openssl.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: openssl.c,v 1.8 2015/09/11 20:55:59 jsing Exp $ */ 1/* $OpenBSD: openssl.c,v 1.9 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 *
@@ -455,8 +455,6 @@ main(int argc, char **argv)
455 455
456 /* Lets load up our environment a little */ 456 /* Lets load up our environment a little */
457 p = getenv("OPENSSL_CONF"); 457 p = getenv("OPENSSL_CONF");
458 if (p == NULL)
459 p = getenv("SSLEAY_CONF");
460 if (p == NULL) { 458 if (p == NULL) {
461 p = to_free = make_config_name(); 459 p = to_free = make_config_name();
462 if (p == NULL) { 460 if (p == NULL) {
diff --git a/src/usr.bin/openssl/ts.c b/src/usr.bin/openssl/ts.c
index e958d0aaff..258e636b03 100644
--- a/src/usr.bin/openssl/ts.c
+++ b/src/usr.bin/openssl/ts.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ts.c,v 1.6 2015/09/11 14:30:23 bcook Exp $ */ 1/* $OpenBSD: ts.c,v 1.7 2015/09/12 19:34:07 lteo Exp $ */
2/* Written by Zoltan Glozik (zglozik@stones.com) for the OpenSSL 2/* Written by Zoltan Glozik (zglozik@stones.com) for the OpenSSL
3 * project 2002. 3 * project 2002.
4 */ 4 */
@@ -347,8 +347,6 @@ load_config_file(const char *configfile)
347 347
348 if (!configfile) 348 if (!configfile)
349 configfile = getenv("OPENSSL_CONF"); 349 configfile = getenv("OPENSSL_CONF");
350 if (!configfile)
351 configfile = getenv("SSLEAY_CONF");
352 350
353 if (configfile && 351 if (configfile &&
354 (!(conf = NCONF_new(NULL)) || 352 (!(conf = NCONF_new(NULL)) ||