summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortb <>2023-07-19 13:34:33 +0000
committertb <>2023-07-19 13:34:33 +0000
commitf56289cbe3d008038d4ff3feae24c868158a1a09 (patch)
tree80792aa4289ce1ee3dbb48c529377b721f396d1f
parent253430a926f3665ae14275b3ac3ce3d2f3fd8ed4 (diff)
downloadopenbsd-f56289cbe3d008038d4ff3feae24c868158a1a09.tar.gz
openbsd-f56289cbe3d008038d4ff3feae24c868158a1a09.tar.bz2
openbsd-f56289cbe3d008038d4ff3feae24c868158a1a09.zip
Fix two aliases in libcrypto spotted by the new symbols test
ok jsing
-rw-r--r--src/lib/libssl/bio_ssl.c4
-rw-r--r--src/lib/libssl/ssl_lib.c3
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 @@
1/* $OpenBSD: bio_ssl.c,v 1.39 2023/07/08 16:40:13 beck Exp $ */ 1/* $OpenBSD: bio_ssl.c,v 1.40 2023/07/19 13:34:33 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 *
@@ -577,7 +577,7 @@ BIO_ssl_copy_session_id(BIO *t, BIO *f)
577 return (0); 577 return (0);
578 return (1); 578 return (1);
579} 579}
580LSSL_ALIAS(BIO_new_ssl_connect); 580LSSL_ALIAS(BIO_ssl_copy_session_id);
581 581
582void 582void
583BIO_ssl_shutdown(BIO *b) 583BIO_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 @@
1/* $OpenBSD: ssl_lib.c,v 1.311 2023/07/08 16:40:13 beck Exp $ */ 1/* $OpenBSD: ssl_lib.c,v 1.312 2023/07/19 13:34:33 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 *
@@ -3313,6 +3313,7 @@ void (*SSL_get_info_callback(const SSL *ssl))(const SSL *ssl, int type, int val)
3313{ 3313{
3314 return (ssl->info_callback); 3314 return (ssl->info_callback);
3315} 3315}
3316LSSL_ALIAS(SSL_get_info_callback);
3316 3317
3317int 3318int
3318SSL_state(const SSL *ssl) 3319SSL_state(const SSL *ssl)