No need to include anything on systems that do not have /dev/crypt
authorRichard Levitte <levitte@openssl.org>
Mon, 5 Nov 2001 12:44:14 +0000 (12:44 +0000)
committerRichard Levitte <levitte@openssl.org>
Mon, 5 Nov 2001 12:44:14 +0000 (12:44 +0000)
crypto/engine/hw_openbsd_dev_crypto.c

index 2e4b3de1e4d13d3bc5762524a31f6b64eee7a573..1309176da866f0a3db4867af44d2a864fc41b8d6 100644 (file)
  *
  */
 
  *
  */
 
+#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>
 /* 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>
 
 /****************************************************/