BIO pairs.
[openssl.git] / ssl / s2_meth.c
index d1940388ed6087ea5dff181eff003099bdb3daab..e2add164ddbee56fcded632f368dc1cc41edc850 100644 (file)
  * [including the GNU Public Licence.]
  */
 
+#ifndef NO_RSA
 #include <stdio.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