Modify sample accept.cnf
[openssl.git] / demos / bio / sconnect.c
index 59fab1985e451c814966a8cb77ccde86cbc034b6..880344eb78453b80b3c87a5c357b2b1114a82d77 100644 (file)
@@ -32,11 +32,16 @@ char *argv[];
        else
                host=argv[1];
 
+#ifdef WATT32
+       dbug_init();
+       sock_init();
+#endif
+
        /* Lets get nice error messages */
        SSL_load_error_strings();
 
        /* Setup all the global SSL stuff */
-       SSLeay_add_ssl_algorithms();
+       OpenSSL_add_ssl_algorithms();
        ssl_ctx=SSL_CTX_new(SSLv23_client_method());
 
        /* Lets make a SSL structure */