summaryrefslogtreecommitdiff
path: root/deps/openssl/openssl/engines/e_padlock.c
diff options
context:
space:
mode:
Diffstat (limited to 'deps/openssl/openssl/engines/e_padlock.c')
-rw-r--r--deps/openssl/openssl/engines/e_padlock.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/deps/openssl/openssl/engines/e_padlock.c b/deps/openssl/openssl/engines/e_padlock.c
index 9f7a85a8da..7d09419804 100644
--- a/deps/openssl/openssl/engines/e_padlock.c
+++ b/deps/openssl/openssl/engines/e_padlock.c
@@ -104,13 +104,11 @@
# if (defined(__GNUC__) && (defined(__i386__) || defined(__i386))) || \
(defined(_MSC_VER) && defined(_M_IX86))
# define COMPILE_HW_PADLOCK
+static ENGINE *ENGINE_padlock (void);
# endif
#endif
#ifdef OPENSSL_NO_DYNAMIC_ENGINE
-#ifdef COMPILE_HW_PADLOCK
-static ENGINE *ENGINE_padlock (void);
-#endif
void ENGINE_load_padlock (void)
{
@@ -199,8 +197,6 @@ padlock_bind_helper(ENGINE *e)
return 1;
}
-#ifdef OPENSSL_NO_DYNAMIC_ENGINE
-
/* Constructor */
static ENGINE *
ENGINE_padlock(void)
@@ -219,8 +215,6 @@ ENGINE_padlock(void)
return eng;
}
-#endif
-
/* Check availability of the engine */
static int
padlock_init(ENGINE *e)