unsigned int vs. int.
[openssl.git] / ssl / s2_meth.c
index 96ac159ce410f436e46272556afd2edd045c5e05..d30b7179f7cfe0d74c799eab0068ff98a764ef9d 100644 (file)
  * [including the GNU Public Licence.]
  */
 
-#include <stdio.h>
-#include "objects.h"
 #include "ssl_locl.h"
+#ifndef OPENSSL_NO_SSL2
+#include <stdio.h>
+#include <openssl/objects.h>
 
-#ifndef NOPROTO
 static SSL_METHOD *ssl2_get_method(int ver);
-#else
-static SSL_METHOD *ssl2_get_method();
-#endif
-
 static SSL_METHOD *ssl2_get_method(int ver)
        {
        if (ver == SSL2_VERSION)
@@ -90,4 +86,10 @@ SSL_METHOD *SSLv2_method(void)
                }
        return(&SSLv2_data);
        }
+#else /* !OPENSSL_NO_SSL2 */
+
+# if PEDANTIC
+static void *dummy=&dummy;
+# endif
 
+#endif