diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2011-01-30 01:55:29 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2011-01-30 01:55:29 +0000 |
commit | b5b724348de90ba791a51c443ea1aa3aa8ee70a0 (patch) | |
tree | 51d5a24a0e872350225fd8a733cdde6f1de88a5d /engines/e_padlock.c | |
parent | c3ee90d8ca0a96f4ac40b04b366d862eb531ae10 (diff) |
stop warnings about no previous prototype when compiling shared engines
Diffstat (limited to 'engines/e_padlock.c')
-rw-r--r-- | engines/e_padlock.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/engines/e_padlock.c b/engines/e_padlock.c index 381a746058..7d09419804 100644 --- a/engines/e_padlock.c +++ b/engines/e_padlock.c @@ -108,6 +108,8 @@ static ENGINE *ENGINE_padlock (void); # endif #endif +#ifdef OPENSSL_NO_DYNAMIC_ENGINE + void ENGINE_load_padlock (void) { /* On non-x86 CPUs it just returns. */ @@ -120,6 +122,8 @@ void ENGINE_load_padlock (void) #endif } +#endif + #ifdef COMPILE_HW_PADLOCK /* We do these includes here to avoid header problems on platforms that do not have the VIA padlock anyway... */ @@ -1218,6 +1222,8 @@ static RAND_METHOD padlock_rand = { #else /* !COMPILE_HW_PADLOCK */ #ifndef OPENSSL_NO_DYNAMIC_ENGINE OPENSSL_EXPORT +int bind_engine(ENGINE *e, const char *id, const dynamic_fns *fns); +OPENSSL_EXPORT int bind_engine(ENGINE *e, const char *id, const dynamic_fns *fns) { return 0; } IMPLEMENT_DYNAMIC_CHECK_FN() #endif |