load cryptodev if HAVE_CRYPTODEV is set too

This commit is contained in:
Dr. Stephen Henson 2010-03-01 00:30:11 +00:00
parent ed4cd027f3
commit 2e5e604b0c

View file

@ -104,7 +104,7 @@ void ENGINE_load_builtin_engines(void)
#endif
#endif
#ifndef OPENSSL_NO_HW
#if defined(__OpenBSD__) || defined(__FreeBSD__)
#if defined(__OpenBSD__) || defined(__FreeBSD__) || defined(HAVE_CRYPTODEV)
ENGINE_load_cryptodev();
#endif
#if defined(OPENSSL_SYS_WIN32) && !defined(OPENSSL_NO_CAPIENG)