summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2023-07-19 13:34:34 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2023-07-19 13:34:34 +0000
commiteb2e9fb125986767a5dacaad579e9a25e7b1336e (patch)
tree60b7b3935dc65a03c9518f2ec1f5ed0f139fe67d /lib
parent9a2ce8fe5fcbcd9a4814dedcc0dd9cacdccfdeb9 (diff)
Fix two aliases in libcrypto spotted by the new symbols test
ok jsing
Diffstat (limited to 'lib')
-rw-r--r--lib/libssl/bio_ssl.c4
-rw-r--r--lib/libssl/ssl_lib.c3
2 files changed, 4 insertions, 3 deletions
diff --git a/lib/libssl/bio_ssl.c b/lib/libssl/bio_ssl.c
index 08e47dbfac5..6dd16996063 100644
--- a/lib/libssl/bio_ssl.c
+++ b/lib/libssl/bio_ssl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bio_ssl.c,v 1.39 2023/07/08 16:40:13 beck Exp $ */
+/* $OpenBSD: bio_ssl.c,v 1.40 2023/07/19 13:34:33 tb Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -577,7 +577,7 @@ BIO_ssl_copy_session_id(BIO *t, BIO *f)
return (0);
return (1);
}
-LSSL_ALIAS(BIO_new_ssl_connect);
+LSSL_ALIAS(BIO_ssl_copy_session_id);
void
BIO_ssl_shutdown(BIO *b)
diff --git a/lib/libssl/ssl_lib.c b/lib/libssl/ssl_lib.c
index b1169b02425..76fcfdec8f7 100644
--- a/lib/libssl/ssl_lib.c
+++ b/lib/libssl/ssl_lib.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssl_lib.c,v 1.311 2023/07/08 16:40:13 beck Exp $ */
+/* $OpenBSD: ssl_lib.c,v 1.312 2023/07/19 13:34:33 tb Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -3313,6 +3313,7 @@ void (*SSL_get_info_callback(const SSL *ssl))(const SSL *ssl, int type, int val)
{
return (ssl->info_callback);
}
+LSSL_ALIAS(SSL_get_info_callback);
int
SSL_state(const SSL *ssl)