projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a159719
)
Retain SSLv2 methods as functions that return NULL
author
Viktor Dukhovni
<viktor@twosigma.com>
Mon, 7 Mar 2016 21:10:38 +0000
(21:10 +0000)
committer
Viktor Dukhovni
<openssl-users@dukhovni.org>
Tue, 8 Mar 2016 14:08:28 +0000
(09:08 -0500)
This improves ABI compatibility when symbol resolution is not lazy.
Reviewed-by: Richard Levitte <levitte@openssl.org>
ssl/s2_meth.c
patch
|
blob
|
history
diff --git
a/ssl/s2_meth.c
b/ssl/s2_meth.c
index b312f17266129cb4395ac7ff8efb9970a5e19600..d46e2f5af804099fae9caf4c3d6a20987146d3d1 100644
(file)
--- a/
ssl/s2_meth.c
+++ b/
ssl/s2_meth.c
@@
-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