X-Git-Url: https://git.openssl.org/?p=openssl.git;a=blobdiff_plain;f=ssl%2Fs2_meth.c;h=deb9e1d6f36c316fdd1b005916c74540a05130e4;hp=e2add164ddbee56fcded632f368dc1cc41edc850;hb=26a3a48d65c7464b400ec1de439994d7f0d25fed;hpb=79df9d62721467927c81f1fa91568340e873ee9c diff --git a/ssl/s2_meth.c b/ssl/s2_meth.c index e2add164dd..deb9e1d6f3 100644 --- a/ssl/s2_meth.c +++ b/ssl/s2_meth.c @@ -56,10 +56,10 @@ * [including the GNU Public Licence.] */ -#ifndef NO_RSA +#include "ssl_locl.h" +#ifndef NO_SSL2 #include #include -#include "ssl_locl.h" static SSL_METHOD *ssl2_get_method(int ver); static SSL_METHOD *ssl2_get_method(int ver) @@ -86,4 +86,10 @@ SSL_METHOD *SSLv2_method(void) } return(&SSLv2_data); } +#else /* !NO_SSL2 */ + +# if PEDANTIC +static void *dummy=&dummy; +# endif + #endif