Do not call ENGINE_setup_bsd_cryptodev() when OPENSSL_NO_ENGINE is defined.

PR: 564
This commit is contained in:
Richard Levitte 2003-04-05 21:21:26 +00:00
parent 4c771796d5
commit 8d570498a2

View File

@ -74,7 +74,9 @@ void OPENSSL_add_all_algorithms_noconf(void)
{
OpenSSL_add_all_ciphers();
OpenSSL_add_all_digests();
#if defined(__OpenBSD__) || defined(__FreeBSD__)
#ifndef OPENSSL_NO_ENGINE
# if defined(__OpenBSD__) || defined(__FreeBSD__)
ENGINE_setup_bsd_cryptodev();
# endif
#endif
}