diff options
author | Rich Salz <rsalz@akamai.com> | 2015-10-27 15:11:48 -0400 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2015-10-30 17:21:42 -0400 |
commit | b0700d2c8de79252ba605748a075cf2e5d670da1 (patch) | |
tree | 80d8b70286dfab4ef907cf1ac388f691821b0f2e /demos/ssl | |
parent | 87d9cafa332bd006086b56dc645c03fe7cfed654 (diff) |
Replace "SSLeay" in API with OpenSSL
All instances of SSLeay (any combination of case) were replaced with
the case-equivalent OpenSSL.
Reviewed-by: Richard Levitte <levitte@openssl.org>
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) { |