API compat for SSLeay_add_ssl_algorithms
[openssl.git] / include / openssl / ssl.h
index 53ee6557c4e895391a51261637c1682bb42457ec..3152348dcd677c9eb3d0085eaa7211286fa32ab3 100644 (file)
@@ -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) \