Casts now unnecessary because of changed prototype.
[openssl.git] / apps / s_client.c
index b70777ea3a6ce747c260c7fa85fb34d4d4c64a1e..ac19f4eed9b6f401cdb8133620d11a8085fbeeb1 100644 (file)
@@ -153,6 +153,8 @@ static void sc_usage(void)
 
        }
 
+int MAIN(int, char **);
+
 int MAIN(int argc, char **argv)
        {
        int off=0;
@@ -337,7 +339,7 @@ bad:
                        }
                }
 
-       SSLeay_add_ssl_algorithms();
+       OpenSSL_add_ssl_algorithms();
        SSL_load_error_strings();
        ctx=SSL_CTX_new(meth);
        if (ctx == NULL)