summaryrefslogtreecommitdiffstats
path: root/demos/ssl/cli.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'demos/ssl/cli.cpp')
-rw-r--r--demos/ssl/cli.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/demos/ssl/cli.cpp b/demos/ssl/cli.cpp
index 3459f0f93a..fcc4d9d1e9 100644
--- a/demos/ssl/cli.cpp
+++ b/demos/ssl/cli.cpp
@@ -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);