Don't use NULL-pointer :-/
[openssl.git] / ssl / s2_meth.c
index 96ac159ce410f436e46272556afd2edd045c5e05..e2add164ddbee56fcded632f368dc1cc41edc850 100644 (file)
  * [including the GNU Public Licence.]
  */
 
+#ifndef NO_RSA
 #include <stdio.h>
-#include "objects.h"
+#include <openssl/objects.h>
 #include "ssl_locl.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,4 @@ SSL_METHOD *SSLv2_method(void)
                }
        return(&SSLv2_data);
        }
-
+#endif