提交 8d570498 编写于 作者: R Richard Levitte

Do not call ENGINE_setup_bsd_cryptodev() when OPENSSL_NO_ENGINE is defined.

PR: 564
上级 4c771796
...@@ -74,7 +74,9 @@ void OPENSSL_add_all_algorithms_noconf(void) ...@@ -74,7 +74,9 @@ void OPENSSL_add_all_algorithms_noconf(void)
{ {
OpenSSL_add_all_ciphers(); OpenSSL_add_all_ciphers();
OpenSSL_add_all_digests(); OpenSSL_add_all_digests();
#if defined(__OpenBSD__) || defined(__FreeBSD__) #ifndef OPENSSL_NO_ENGINE
# if defined(__OpenBSD__) || defined(__FreeBSD__)
ENGINE_setup_bsd_cryptodev(); ENGINE_setup_bsd_cryptodev();
# endif
#endif #endif
} }
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册