Integrate ectest.c (which does not yet do anything).
[openssl.git] / ssl / s23_meth.c
index f1f81325be2410f4d9e73131a3fa5d833bc2cc7b..40684311db30e3421ba39fcf4f8e4a6d3986e989 100644 (file)
  */
 
 #include <stdio.h>
-#include "objects.h"
+#include <openssl/objects.h>
 #include "ssl_locl.h"
 
-#ifndef NOPROTO
 static SSL_METHOD *ssl23_get_method(int ver);
-#else
-static SSL_METHOD *ssl23_get_method();
-#endif
-
 static SSL_METHOD *ssl23_get_method(int ver)
        {
        if (ver == SSL2_VERSION)
-               return(SSLv23_method());
+               return(SSLv2_method());
        else if (ver == SSL3_VERSION)
                return(SSLv3_method());
        else if (ver == TLS1_VERSION)