From f56289cbe3d008038d4ff3feae24c868158a1a09 Mon Sep 17 00:00:00 2001 From: tb <> Date: Wed, 19 Jul 2023 13:34:33 +0000 Subject: Fix two aliases in libcrypto spotted by the new symbols test ok jsing --- src/lib/libssl/bio_ssl.c | 4 ++-- src/lib/libssl/ssl_lib.c | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/lib/libssl/bio_ssl.c b/src/lib/libssl/bio_ssl.c index 08e47dbfac..6dd1699606 100644 --- a/src/lib/libssl/bio_ssl.c +++ b/src/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/src/lib/libssl/ssl_lib.c b/src/lib/libssl/ssl_lib.c index b1169b0242..76fcfdec8f 100644 --- a/src/lib/libssl/ssl_lib.c +++ b/src/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) -- cgit v1.2.3-55-g6feb