New functions and option to use NEW in certificate requests.
[openssl.git] / apps / s_server.c
index f723e559fd0706ac4d92815d8b3a80f8a55ac837..a92db5cd1bfdafcb894f28d63cd1cbccff0fc7b5 100644 (file)
@@ -397,6 +397,8 @@ static int ebcdic_puts(BIO *bp, char *str)
 }
 #endif
 
+int MAIN(int, char **);
+
 int MAIN(int argc, char *argv[])
        {
        short port=PORT;
@@ -605,7 +607,7 @@ bad:
                }
 
        SSL_load_error_strings();
-       SSLeay_add_ssl_algorithms();
+       OpenSSL_add_ssl_algorithms();
 
        ctx=SSL_CTX_new(meth);
        if (ctx == NULL)