From: tb Date: Wed, 19 Jul 2023 13:34:33 +0000 (+0000) Subject: Fix two aliases in libcrypto spotted by the new symbols test X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=82821a618568f0edc5dd97e8c920c69266b62eca;p=openbsd Fix two aliases in libcrypto spotted by the new symbols test ok jsing --- 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)