projects
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f559f31
)
No need to include anything on systems that do not have /dev/crypt
author
Richard Levitte
<levitte@openssl.org>
Mon, 5 Nov 2001 12:44:14 +0000
(12:44 +0000)
committer
Richard Levitte
<levitte@openssl.org>
Mon, 5 Nov 2001 12:44:14 +0000
(12:44 +0000)
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 2e4b3de1e4d13d3bc5762524a31f6b64eee7a573..1309176da866f0a3db4867af44d2a864fc41b8d6 100644
(file)
--- a/
crypto/engine/hw_openbsd_dev_crypto.c
+++ b/
crypto/engine/hw_openbsd_dev_crypto.c
@@
-53,6
+53,16
@@
*
*/
*
*/
+#ifndef OPENSSL_OPENBSD_DEV_CRYPTO
+
+void ENGINE_load_openbsd_dev_crypto(void)
+ {
+ /* This is a NOP unless OPENSSL_OPENBSD_DEV_CRYPTO is defined */
+ return;
+ }
+
+#else /* OPENSSL_OPENBSD_DEV_CRYPTO */
+
#include <fcntl.h>
#include <stdio.h>
#include <errno.h>
#include <fcntl.h>
#include <stdio.h>
#include <errno.h>
@@
-65,16
+75,6
@@
/* Maybe this is needed? ... */
#include "../evp/evp_locl.h"
/* Maybe this is needed? ... */
#include "../evp/evp_locl.h"
-#ifndef OPENSSL_OPENBSD_DEV_CRYPTO
-
-void ENGINE_load_openbsd_dev_crypto(void)
- {
- /* This is a NOP unless OPENSSL_OPENBSD_DEV_CRYPTO is defined */
- return;
- }
-
-#else /* OPENSSL_OPENBSD_DEV_CRYPTO */
-
#include <crypto/cryptodev.h>
/****************************************************/
#include <crypto/cryptodev.h>
/****************************************************/