From: Tomas Mraz Date: Mon, 9 Oct 2023 08:32:44 +0000 (+0200) Subject: Avoid using gets as an argument name in a prototype X-Git-Tag: openssl-3.2.0-beta1~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2e471a740b621481b3f3236f82fdd677414900a1;p=thirdparty%2Fopenssl.git 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 Reviewed-by: Paul Dale Reviewed-by: Tim Hudson Reviewed-by: Kurt Roeckx Reviewed-by: Matt Caswell (Merged from https://github.com/openssl/openssl/pull/22316) --- diff --git a/include/openssl/bio.h.in b/include/openssl/bio.h.in index c534dcd76cd..418d119737f 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 *));