summaryrefslogtreecommitdiffstats
path: root/demos
diff options
context:
space:
mode:
Diffstat (limited to 'demos')
-rw-r--r--demos/bio/saccept.c2
-rw-r--r--demos/bio/sconnect.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/demos/bio/saccept.c b/demos/bio/saccept.c
index 2f2dc985fe..933d6699ee 100644
--- a/demos/bio/saccept.c
+++ b/demos/bio/saccept.c
@@ -46,7 +46,7 @@ char *argv[];
SSL_load_error_strings();
/* Add ciphers and message digests */
- SSLeay_add_ssl_algorithms();
+ OpenSSL_add_ssl_algorithms();
ctx=SSL_CTX_new(SSLv23_server_method());
if (!SSL_CTX_use_certificate_file(ctx,CERT_FILE,SSL_FILETYPE_PEM))
diff --git a/demos/bio/sconnect.c b/demos/bio/sconnect.c
index 59fab1985e..87b380b258 100644
--- a/demos/bio/sconnect.c
+++ b/demos/bio/sconnect.c
@@ -36,7 +36,7 @@ char *argv[];
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 */