diff options
Diffstat (limited to 'demos/ssl')
-rw-r--r-- | demos/ssl/cli.cpp | 4 | ||||
-rw-r--r-- | demos/ssl/inetdsrv.cpp | 2 | ||||
-rw-r--r-- | demos/ssl/serv.cpp | 6 |
3 files changed, 6 insertions, 6 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); diff --git a/demos/ssl/inetdsrv.cpp b/demos/ssl/inetdsrv.cpp index efd70d2771..7434030d1a 100644 --- a/demos/ssl/inetdsrv.cpp +++ b/demos/ssl/inetdsrv.cpp @@ -7,7 +7,7 @@ #include <stdio.h> #include <errno.h> -#include "rsa.h" /* SSLeay stuff */ +#include "rsa.h" #include <openssl/crypto.h> #include <openssl/x509.h> #include <openssl/pem.h> diff --git a/demos/ssl/serv.cpp b/demos/ssl/serv.cpp index 9cb77f8275..43ff88ef64 100644 --- a/demos/ssl/serv.cpp +++ b/demos/ssl/serv.cpp @@ -2,7 +2,7 @@ 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> */ @@ -17,7 +17,7 @@ #include <arpa/inet.h> #include <netdb.h> -#include <openssl/rsa.h> /* SSLeay stuff */ +#include <openssl/rsa.h> #include <openssl/crypto.h> #include <openssl/x509.h> #include <openssl/pem.h> @@ -54,7 +54,7 @@ void main () /* SSL preliminaries. We keep the certificate and key with the context. */ SSL_load_error_strings(); - SSLeay_add_ssl_algorithms(); + OpenSSL_add_ssl_algorithms(); meth = TLS_server_method(); ctx = SSL_CTX_new (meth); if (!ctx) { |