diff options
author | Tomas Mraz <tomas@openssl.org> | 2023-10-09 10:32:44 +0200 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2023-10-25 09:53:46 +0100 |
commit | 2e471a740b621481b3f3236f82fdd677414900a1 (patch) | |
tree | 3e24b6258b4602337c8dd465be5ed3b6fcc55dc2 /include | |
parent | 59d8a338edca98e5bb077a2a364d82e53e7cce77 (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)
Diffstat (limited to 'include')
-rw-r--r-- | include/openssl/bio.h.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/openssl/bio.h.in b/include/openssl/bio.h.in index c534dcd76c..418d119737 100644 --- a/include/openssl/bio.h.in +++ b/include/openssl/bio.h.in @@ -967,7 +967,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 *)); |