]> git.ipfire.org Git - thirdparty/openssl.git/blobdiff - demos/ssl/cli.cpp
Replace "SSLeay" in API with OpenSSL
[thirdparty/openssl.git] / demos / ssl / cli.cpp
index 3459f0f93ac1010b0419b2a02f2170b29fb2d297..fcc4d9d1e90567c39bb9a1bbef289ad634b3c5d5 100644 (file)
@@ -1,7 +1,7 @@
 /* cli.cpp  -  Minimal ssleay client for Unix
    30.9.1996, Sampo Kellomaki <sampo@iki.fi> */
 
-/* mangled to work with SSLeay-0.9.0b and OpenSSL 0.9.2b
+/* mangled to work with OpenSSL 0.9.2b
    Simplified to be even more minimal
    12/98 - 4/99 Wade Scholine <wades@mail.cybg.com> */
 
@@ -37,7 +37,7 @@ void main ()
   char     buf [4096];
   SSL_METHOD *meth;
 
-  SSLeay_add_ssl_algorithms();
+  OpenSSL_add_ssl_algorithms();
   meth = TLS_client_method();
   SSL_load_error_strings();
   ctx = SSL_CTX_new (meth);                        CHK_NULL(ctx);