As ENGINE_load_openbsd_dev_crypto() is an API function, it makes sense for

it to be defined on all platforms whether or not it is of any practical
use on them. This also resolves linker problems on "special" platforms,
such as win32.
This commit is contained in:
Geoff Thorpe 2001-10-08 17:08:17 +00:00
parent 6d52f260bf
commit 7526e2c043

View File

@ -55,7 +55,11 @@
#ifndef OPENSSL_OPENBSD_DEV_CRYPTO #ifndef OPENSSL_OPENBSD_DEV_CRYPTO
static void *dummy=&dummy; void ENGINE_load_openbsd_dev_crypto(void)
{
/* This is a NOP unless OPENSSL_OPENBSD_DEV_CRYPTO is defined */
return;
}
#else /* OPENSSL_OPENBSD_DEV_CRYPTO */ #else /* OPENSSL_OPENBSD_DEV_CRYPTO */