* [including the GNU Public Licence.]
*/
-#include <stdio.h>
-#include "objects.h"
#include "ssl_locl.h"
+#ifndef 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)
}
return(&SSLv2_data);
}
+#else /* !NO_SSL2 */
+
+# if PEDANTIC
+static void *dummy=&dummy;
+# endif
+#endif