From 647c998cb310d68255f1257781c0f0dc1f22f5dd Mon Sep 17 00:00:00 2001
From: tb <>
Date: Fri, 14 Jan 2022 09:12:53 +0000
Subject: Use the correct type for ssl_callback_ctrl()

---
 src/lib/libssl/bio_ssl.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'src')

diff --git a/src/lib/libssl/bio_ssl.c b/src/lib/libssl/bio_ssl.c
index f2bf376fc2..e86b9d83f2 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.32 2022/01/14 09:09:30 tb Exp $ */
+/* $OpenBSD: bio_ssl.c,v 1.33 2022/01/14 09:12:53 tb Exp $ */
 /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
  * All rights reserved.
  *
@@ -75,7 +75,7 @@ static int ssl_puts(BIO *h, const char *str);
 static long ssl_ctrl(BIO *h, int cmd, long arg1, void *arg2);
 static int ssl_new(BIO *h);
 static int ssl_free(BIO *data);
-static long ssl_callback_ctrl(BIO *h, int cmd, bio_info_cb *fp);
+static long ssl_callback_ctrl(BIO *h, int cmd, BIO_info_cb *fp);
 typedef struct bio_ssl_st {
 	SSL *ssl; /* The ssl handle :-) */
 	/* re-negotiate every time the total number of bytes is this size */
@@ -463,7 +463,7 @@ ssl_ctrl(BIO *b, int cmd, long num, void *ptr)
 }
 
 static long
-ssl_callback_ctrl(BIO *b, int cmd, bio_info_cb *fp)
+ssl_callback_ctrl(BIO *b, int cmd, BIO_info_cb *fp)
 {
 	SSL *ssl;
 	BIO_SSL *bs;
-- 
cgit v1.2.3-55-g6feb