No need to include anything on systems that do not have /dev/crypt
[openssl.git] / 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>
 /* 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>
 
 /****************************************************/