1
0
mirror of https://github.com/libssh2/libssh2.git synced 2025-11-21 14:00:51 +03:00

Added call to OpenSSL_add_all_digests() #288

For OpenSSL 1.0.x we need to call OpenSSL_add_all_digests().
This commit is contained in:
Will Cosgrove
2019-02-18 09:48:14 -08:00
committed by GitHub
parent 03d068f00a
commit 5c805e23ea

View File

@@ -646,6 +646,7 @@ void _libssh2_openssl_crypto_init(void)
#else #else
OpenSSL_add_all_algorithms(); OpenSSL_add_all_algorithms();
OpenSSL_add_all_ciphers(); OpenSSL_add_all_ciphers();
OpenSSL_add_all_digests();
#ifndef OPENSSL_NO_ENGINE #ifndef OPENSSL_NO_ENGINE
ENGINE_load_builtin_engines(); ENGINE_load_builtin_engines();
ENGINE_register_all_complete(); ENGINE_register_all_complete();