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 083fbc5007c93ef0f9208ed933ecce3b884867aa..f88a21b6319e952060040576f24606c8f81a0604 100644 (file)
 
 #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 */