mirror of
https://github.com/libssh2/libssh2.git
synced 2025-11-21 14:00:51 +03:00
Fix for when building against LibreSSL #302
This commit is contained in:
@@ -638,7 +638,7 @@ static EVP_CIPHER * aes_256_ctr_cipher = NULL;
|
|||||||
|
|
||||||
void _libssh2_openssl_crypto_init(void)
|
void _libssh2_openssl_crypto_init(void)
|
||||||
{
|
{
|
||||||
#if OPENSSL_VERSION_NUMBER >= 0x10100000L
|
#if (OPENSSL_VERSION_NUMBER >= 0x10100000L && !defined(LIBSSH2_LIBRESSL))
|
||||||
#ifndef OPENSSL_NO_ENGINE
|
#ifndef OPENSSL_NO_ENGINE
|
||||||
ENGINE_load_builtin_engines();
|
ENGINE_load_builtin_engines();
|
||||||
ENGINE_register_all_complete();
|
ENGINE_register_all_complete();
|
||||||
|
|||||||
Reference in New Issue
Block a user