diff options
author | tb <> | 2022-01-14 09:12:53 +0000 |
---|---|---|
committer | tb <> | 2022-01-14 09:12:53 +0000 |
commit | 647c998cb310d68255f1257781c0f0dc1f22f5dd (patch) | |
tree | 1b3929bad1d2a1a92251124c7d4b9538595ac899 | |
parent | 1bcac5c126c6b65375ad4d9e9a98d8b7b3398b79 (diff) | |
download | openbsd-647c998cb310d68255f1257781c0f0dc1f22f5dd.tar.gz openbsd-647c998cb310d68255f1257781c0f0dc1f22f5dd.tar.bz2 openbsd-647c998cb310d68255f1257781c0f0dc1f22f5dd.zip |
Use the correct type for ssl_callback_ctrl()
-rw-r--r-- | src/lib/libssl/bio_ssl.c | 6 |
1 files changed, 3 insertions, 3 deletions
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 @@ | |||
1 | /* $OpenBSD: bio_ssl.c,v 1.32 2022/01/14 09:09:30 tb Exp $ */ | 1 | /* $OpenBSD: bio_ssl.c,v 1.33 2022/01/14 09:12:53 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 | * |
@@ -75,7 +75,7 @@ static int ssl_puts(BIO *h, const char *str); | |||
75 | static long ssl_ctrl(BIO *h, int cmd, long arg1, void *arg2); | 75 | static long ssl_ctrl(BIO *h, int cmd, long arg1, void *arg2); |
76 | static int ssl_new(BIO *h); | 76 | static int ssl_new(BIO *h); |
77 | static int ssl_free(BIO *data); | 77 | static int ssl_free(BIO *data); |
78 | static long ssl_callback_ctrl(BIO *h, int cmd, bio_info_cb *fp); | 78 | static long ssl_callback_ctrl(BIO *h, int cmd, BIO_info_cb *fp); |
79 | typedef struct bio_ssl_st { | 79 | typedef struct bio_ssl_st { |
80 | SSL *ssl; /* The ssl handle :-) */ | 80 | SSL *ssl; /* The ssl handle :-) */ |
81 | /* re-negotiate every time the total number of bytes is this size */ | 81 | /* 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) | |||
463 | } | 463 | } |
464 | 464 | ||
465 | static long | 465 | static long |
466 | ssl_callback_ctrl(BIO *b, int cmd, bio_info_cb *fp) | 466 | ssl_callback_ctrl(BIO *b, int cmd, BIO_info_cb *fp) |
467 | { | 467 | { |
468 | SSL *ssl; | 468 | SSL *ssl; |
469 | BIO_SSL *bs; | 469 | BIO_SSL *bs; |