mirror of
https://github.com/php/php-src.git
synced 2025-08-18 15:08:55 +02:00
Prevent implicit function declaration when TLSEXT unavailable
This commit is contained in:
parent
781d0b9ee3
commit
2bc0dbab44
1 changed files with 2 additions and 0 deletions
|
@ -800,6 +800,7 @@ static int php_enable_server_crypto_opts(php_stream *stream,
|
|||
return 1;
|
||||
}
|
||||
|
||||
#if OPENSSL_VERSION_NUMBER >= 0x00908070L && !defined(OPENSSL_NO_TLSEXT)
|
||||
static inline void enable_client_sni(php_stream *stream, php_openssl_netstream_data_t *sslsock) /* {{{ */
|
||||
{
|
||||
zval **val;
|
||||
|
@ -819,6 +820,7 @@ static inline void enable_client_sni(php_stream *stream, php_openssl_netstream_d
|
|||
}
|
||||
}
|
||||
/* }}} */
|
||||
#endif
|
||||
|
||||
static inline int php_openssl_enable_crypto(php_stream *stream,
|
||||
php_openssl_netstream_data_t *sslsock,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue