As ENGINE_load_openbsd_dev_crypto() is an API function, it makes sense for
authorGeoff Thorpe <geoff@openssl.org>
Mon, 8 Oct 2001 17:08:17 +0000 (17:08 +0000)
committerGeoff Thorpe <geoff@openssl.org>
Mon, 8 Oct 2001 17:08:17 +0000 (17:08 +0000)
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.

crypto/engine/hw_openbsd_dev_crypto.c

index 083fbc5..f88a21b 100644 (file)
 
 #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 */