summaryrefslogtreecommitdiff
path: root/src/lib/libssl/ssl_txt.c
diff options
context:
space:
mode:
authortb <>2021-11-29 18:36:27 +0000
committertb <>2021-11-29 18:36:27 +0000
commitaa4ce0135dd3bc544775ea25bff216e87486ec80 (patch)
tree7fc341ce5f1fafb21e289e3a0cccd5326381410c /src/lib/libssl/ssl_txt.c
parent0b1a9bd71e10a7b1f57eb401f99c29dd766eb047 (diff)
downloadopenbsd-aa4ce0135dd3bc544775ea25bff216e87486ec80.tar.gz
openbsd-aa4ce0135dd3bc544775ea25bff216e87486ec80.tar.bz2
openbsd-aa4ce0135dd3bc544775ea25bff216e87486ec80.zip
Stop using BIO_s_file_inernal() in libssl.
BIO_s_file_internal() should never have leaked out of libcrypto, but it did. As a first step of getting rid of it, stop using it internally. ok jsing
Diffstat (limited to 'src/lib/libssl/ssl_txt.c')
-rw-r--r--src/lib/libssl/ssl_txt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libssl/ssl_txt.c b/src/lib/libssl/ssl_txt.c
index e06808ac80..72ce1a0bce 100644
--- a/src/lib/libssl/ssl_txt.c
+++ b/src/lib/libssl/ssl_txt.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssl_txt.c,v 1.30 2021/10/23 08:13:02 jsing Exp $ */ 1/* $OpenBSD: ssl_txt.c,v 1.31 2021/11/29 18:36:27 tb 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 *
@@ -94,7 +94,7 @@ SSL_SESSION_print_fp(FILE *fp, const SSL_SESSION *x)
94 BIO *b; 94 BIO *b;
95 int ret; 95 int ret;
96 96
97 if ((b = BIO_new(BIO_s_file_internal())) == NULL) { 97 if ((b = BIO_new(BIO_s_file())) == NULL) {
98 SSLerrorx(ERR_R_BUF_LIB); 98 SSLerrorx(ERR_R_BUF_LIB);
99 return (0); 99 return (0);
100 } 100 }