summaryrefslogtreecommitdiffstats
path: root/ssl
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2000-02-04 14:01:38 +0000
committerDr. Stephen Henson <steve@openssl.org>2000-02-04 14:01:38 +0000
commitaf57d843124672a9053a4da60ad7f9b6d4324a5a (patch)
treebe04d473220a67bbe9f5075a13f3cf299b8ade7a /ssl
parent53002dc69147ed67513623acb6ad390b69dac4c7 (diff)
Rename SSLeay_add_all_algorithms() et al to
OpenSSL_add_all_algorithms(). Move these into separate files so they work properly.
Diffstat (limited to 'ssl')
-rw-r--r--ssl/ssl.h1
-rw-r--r--ssl/ssl_task.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/ssl/ssl.h b/ssl/ssl.h
index 712ec3a6dc..261dcf8a48 100644
--- a/ssl/ssl.h
+++ b/ssl/ssl.h
@@ -728,6 +728,7 @@ size_t SSL_get_peer_finished(SSL *s, void *buf, size_t count);
#define SSL_VERIFY_FAIL_IF_NO_PEER_CERT 0x02
#define SSL_VERIFY_CLIENT_ONCE 0x04
+#define OpenSSL_add_ssl_algorithms() SSL_library_init()
#define SSLeay_add_ssl_algorithms() SSL_library_init()
/* this is for backward compatibility */
diff --git a/ssl/ssl_task.c b/ssl/ssl_task.c
index 321e35c83b..cac701a798 100644
--- a/ssl/ssl_task.c
+++ b/ssl/ssl_task.c
@@ -226,7 +226,7 @@ int main ( int argc, char **argv )
printf("cipher list: %s\n", cipher ? cipher : "{undefined}" );
SSL_load_error_strings();
- SSLeay_add_all_algorithms();
+ OpenSSL_add_all_algorithms();
/* DRM, this was the original, but there is no such thing as SSLv2()
s_ctx=SSL_CTX_new(SSLv2());