summaryrefslogtreecommitdiff
path: root/crypto/openssl/ssl/s2_meth.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/openssl/ssl/s2_meth.c')
-rw-r--r--crypto/openssl/ssl/s2_meth.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/crypto/openssl/ssl/s2_meth.c b/crypto/openssl/ssl/s2_meth.c
index 0e93c9920467..01cc05ff51f6 100644
--- a/crypto/openssl/ssl/s2_meth.c
+++ b/crypto/openssl/ssl/s2_meth.c
@@ -58,10 +58,10 @@
* $FreeBSD$
*/
+#include "ssl_locl.h"
#ifndef NO_SSL2
#include <stdio.h>
#include <openssl/objects.h>
-#include "ssl_locl.h"
static SSL_METHOD *ssl2_get_method(int ver);
static SSL_METHOD *ssl2_get_method(int ver)
@@ -88,4 +88,10 @@ SSL_METHOD *SSLv2_method(void)
}
return(&SSLv2_data);
}
+#else /* !NO_SSL2 */
+
+# if PEDANTIC
+static void *dummy=&dummy;
+# endif
+
#endif