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:29 +00:00
parent 8e4552ed30
commit 86ccb91ddb

View File

@ -73,7 +73,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
}