summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomas Mraz <tomas@openssl.org>2023-10-09 10:32:44 +0200
committerMatt Caswell <matt@openssl.org>2023-10-25 09:55:03 +0100
commit52d235e1ad2b19675b3ffdd43ec45523974f0344 (patch)
tree0e3e78ec6cdf1b3b7bbde47de31f5a96fefc042e
parent7b2163f485c51777cc812eb967076c1357ad663b (diff)
Avoid using gets as an argument name in a prototype
This otherwise breaks compilation of applications using ssl.h on MingW. Fixes #22296 Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org> Reviewed-by: Tim Hudson <tjh@openssl.org> Reviewed-by: Kurt Roeckx <kurt@roeckx.be> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/22316) (cherry picked from commit 2e471a740b621481b3f3236f82fdd677414900a1)
-rw-r--r--include/openssl/bio.h.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/openssl/bio.h.in b/include/openssl/bio.h.in
index c521e41e4a..cdc395b783 100644
--- a/include/openssl/bio.h.in
+++ b/include/openssl/bio.h.in
@@ -844,7 +844,7 @@ int BIO_meth_set_puts(BIO_METHOD *biom,
int (*puts) (BIO *, const char *));
int (*BIO_meth_get_gets(const BIO_METHOD *biom)) (BIO *, char *, int);
int BIO_meth_set_gets(BIO_METHOD *biom,
- int (*gets) (BIO *, char *, int));
+ int (*ossl_gets) (BIO *, char *, int));
long (*BIO_meth_get_ctrl(const BIO_METHOD *biom)) (BIO *, int, long, void *);
int BIO_meth_set_ctrl(BIO_METHOD *biom,
long (*ctrl) (BIO *, int, long, void *));