summaryrefslogtreecommitdiff
path: root/src/lib/libssl/bio_ssl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libssl/bio_ssl.c')
-rw-r--r--src/lib/libssl/bio_ssl.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/libssl/bio_ssl.c b/src/lib/libssl/bio_ssl.c
index 04dd22f16d..d6974cdb24 100644
--- a/src/lib/libssl/bio_ssl.c
+++ b/src/lib/libssl/bio_ssl.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: bio_ssl.c,v 1.35 2022/10/05 21:16:14 tb Exp $ */ 1/* $OpenBSD: bio_ssl.c,v 1.36 2022/11/11 11:25:18 beck 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 *
@@ -103,6 +103,7 @@ BIO_f_ssl(void)
103{ 103{
104 return (&methods_sslp); 104 return (&methods_sslp);
105} 105}
106LSSL_ALIAS(BIO_f_ssl)
106 107
107static int 108static int
108ssl_new(BIO *bi) 109ssl_new(BIO *bi)
@@ -532,6 +533,7 @@ BIO_new_ssl_connect(SSL_CTX *ctx)
532 BIO_free(ssl); 533 BIO_free(ssl);
533 return (NULL); 534 return (NULL);
534} 535}
536LSSL_ALIAS(BIO_new_ssl_connect)
535 537
536BIO * 538BIO *
537BIO_new_ssl(SSL_CTX *ctx, int client) 539BIO_new_ssl(SSL_CTX *ctx, int client)
@@ -556,6 +558,7 @@ BIO_new_ssl(SSL_CTX *ctx, int client)
556 BIO_free(ret); 558 BIO_free(ret);
557 return (NULL); 559 return (NULL);
558} 560}
561LSSL_ALIAS(BIO_new_ssl)
559 562
560int 563int
561BIO_ssl_copy_session_id(BIO *t, BIO *f) 564BIO_ssl_copy_session_id(BIO *t, BIO *f)