Maintain backwards-compatible SSLv23_method macros
Reviewed-by: Tim Hudson <tjh@openssl.org>
This commit is contained in:
parent
5b89036c41
commit
0dc41520f2
@ -1546,11 +1546,9 @@ __owur const SSL_METHOD *SSLv3_server_method(void); /* SSLv3 */
|
|||||||
__owur const SSL_METHOD *SSLv3_client_method(void); /* SSLv3 */
|
__owur const SSL_METHOD *SSLv3_client_method(void); /* SSLv3 */
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
#ifdef OPENSSL_USE_DEPRECATED
|
|
||||||
#define SSLv23_method TLS_method
|
#define SSLv23_method TLS_method
|
||||||
#define SSLv23_server_method TLS_server_method
|
#define SSLv23_server_method TLS_server_method
|
||||||
#define SSLv23_client_method TLS_client_method
|
#define SSLv23_client_method TLS_client_method
|
||||||
#endif
|
|
||||||
|
|
||||||
/* Negotiate highest available SSL/TLS version */
|
/* Negotiate highest available SSL/TLS version */
|
||||||
__owur const SSL_METHOD *TLS_method(void);
|
__owur const SSL_METHOD *TLS_method(void);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user