projects
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d52f26
)
As ENGINE_load_openbsd_dev_crypto() is an API function, it makes sense for
author
Geoff Thorpe
<geoff@openssl.org>
Mon, 8 Oct 2001 17:08:17 +0000
(17:08 +0000)
committer
Geoff 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
patch
|
blob
|
history
diff --git
a/crypto/engine/hw_openbsd_dev_crypto.c
b/crypto/engine/hw_openbsd_dev_crypto.c
index 083fbc5007c93ef0f9208ed933ecce3b884867aa..f88a21b6319e952060040576f24606c8f81a0604 100644
(file)
--- a/
crypto/engine/hw_openbsd_dev_crypto.c
+++ b/
crypto/engine/hw_openbsd_dev_crypto.c
@@
-55,7
+55,11
@@
#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 */