mirror of https://github.com/openssl/openssl.git
Temporary pragma to have GCC quiet down about deprecated functions
Future commits will change our use to newer functions and the pragmas will go away at that time. Reviewed-by: Kurt Roeckx <kurt@openssl.org>
This commit is contained in:
parent
d33b215b33
commit
b00b21242a
|
|
@ -88,6 +88,12 @@ static int wsa_init_done = 0;
|
|||
# define WSAAPI
|
||||
# endif
|
||||
|
||||
/*
|
||||
* We are currently using deprecated functions here, and GCC warns
|
||||
* us about them, but since we know, we don't want to hear it.
|
||||
*/
|
||||
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
||||
|
||||
# if OPENSSL_API_COMPAT < 0x10100000L
|
||||
static int get_ip(const char *str, unsigned char *ip);
|
||||
int BIO_get_host_ip(const char *str, unsigned char *ip)
|
||||
|
|
|
|||
|
|
@ -63,6 +63,12 @@
|
|||
|
||||
#ifndef OPENSSL_NO_SOCK
|
||||
|
||||
/*
|
||||
* We are currently using deprecated functions here, and GCC warns
|
||||
* us about them, but since we know, we don't want to hear it.
|
||||
*/
|
||||
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
||||
|
||||
# if (defined(OPENSSL_SYS_VMS) && __VMS_VER < 70000000)
|
||||
/* FIONBIO used as a switch to enable ioctl, and that isn't in VMS < 7.0 */
|
||||
# undef FIONBIO
|
||||
|
|
|
|||
|
|
@ -63,6 +63,12 @@
|
|||
|
||||
#ifndef OPENSSL_NO_SOCK
|
||||
|
||||
/*
|
||||
* We are currently using deprecated functions here, and GCC warns
|
||||
* us about them, but since we know, we don't want to hear it.
|
||||
*/
|
||||
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
||||
|
||||
# if (defined(OPENSSL_SYS_VMS) && __VMS_VER < 70000000)
|
||||
/* FIONBIO used as a switch to enable ioctl, and that isn't in VMS < 7.0 */
|
||||
# undef FIONBIO
|
||||
|
|
|
|||
Loading…
Reference in New Issue