Retain SSLv2 methods as functions that return NULL
This improves ABI compatibility when symbol resolution is not lazy. Reviewed-by: Richard Levitte <levitte@openssl.org>
This commit is contained in:
parent
a159719440
commit
5bac9d44e7
@ -74,8 +74,8 @@ IMPLEMENT_ssl2_meth_func(SSLv2_method,
|
||||
ssl2_accept, ssl2_connect, ssl2_get_method)
|
||||
#else /* !OPENSSL_NO_SSL2 */
|
||||
|
||||
# if PEDANTIC
|
||||
static void *dummy = &dummy;
|
||||
# endif
|
||||
SSL_METHOD *SSLv2_method(void) { return NULL; }
|
||||
SSL_METHOD *SSLv2_client_method(void) { return NULL; }
|
||||
SSL_METHOD *SSLv2_server_method(void) { return NULL; }
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user