aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorViktor Dukhovni <openssl-users@dukhovni.org>2016-01-19 12:42:31 -0500
committerViktor Dukhovni <openssl-users@dukhovni.org>2016-01-19 13:40:05 -0500
commit928623825cc59e272e2031cd3f07c5b7bbd605d4 (patch)
tree639416aae114b420f75aa7ebe572320bf7624228 /include
parent293b5ca47767005e0341b450eef82633f48359f3 (diff)
downloadopenssl-928623825cc59e272e2031cd3f07c5b7bbd605d4.tar.gz
API compat for SSLeay_add_ssl_algorithms
Reviewed-by: Dr. Stephen Henson <steve@openssl.org>
Diffstat (limited to 'include')
-rw-r--r--include/openssl/ssl.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/openssl/ssl.h b/include/openssl/ssl.h
index 53ee6557c4..3152348dcd 100644
--- a/include/openssl/ssl.h
+++ b/include/openssl/ssl.h
@@ -1031,6 +1031,9 @@ size_t SSL_get_peer_finished(const SSL *s, void *buf, size_t count);
# define SSL_VERIFY_CLIENT_ONCE 0x04
# define OpenSSL_add_ssl_algorithms() SSL_library_init()
+# if OPENSSL_API_COMPAT < 0x10100000L
+# define SSLeay_add_ssl_algorithms() SSL_library_init()
+# endif
/* More backward compatibility */
# define SSL_get_cipher(s) \