diff options
Diffstat (limited to 'src/lib/libcrypto/engine/engine.h')
-rw-r--r-- | src/lib/libcrypto/engine/engine.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/libcrypto/engine/engine.h b/src/lib/libcrypto/engine/engine.h index 943aeae215..8ad11b15d7 100644 --- a/src/lib/libcrypto/engine/engine.h +++ b/src/lib/libcrypto/engine/engine.h | |||
@@ -344,6 +344,7 @@ void ENGINE_load_gost(void); | |||
344 | #endif | 344 | #endif |
345 | #endif | 345 | #endif |
346 | void ENGINE_load_cryptodev(void); | 346 | void ENGINE_load_cryptodev(void); |
347 | void ENGINE_load_aesni(void); | ||
347 | void ENGINE_load_builtin_engines(void); | 348 | void ENGINE_load_builtin_engines(void); |
348 | 349 | ||
349 | /* Get and set global flags (ENGINE_TABLE_FLAG_***) for the implementation | 350 | /* Get and set global flags (ENGINE_TABLE_FLAG_***) for the implementation |
@@ -677,7 +678,6 @@ typedef struct st_dynamic_fns { | |||
677 | * can be fully instantiated with IMPLEMENT_DYNAMIC_CHECK_FN(). */ | 678 | * can be fully instantiated with IMPLEMENT_DYNAMIC_CHECK_FN(). */ |
678 | typedef unsigned long (*dynamic_v_check_fn)(unsigned long ossl_version); | 679 | typedef unsigned long (*dynamic_v_check_fn)(unsigned long ossl_version); |
679 | #define IMPLEMENT_DYNAMIC_CHECK_FN() \ | 680 | #define IMPLEMENT_DYNAMIC_CHECK_FN() \ |
680 | OPENSSL_EXPORT unsigned long v_check(unsigned long v); \ | ||
681 | OPENSSL_EXPORT unsigned long v_check(unsigned long v) { \ | 681 | OPENSSL_EXPORT unsigned long v_check(unsigned long v) { \ |
682 | if(v >= OSSL_DYNAMIC_OLDEST) return OSSL_DYNAMIC_VERSION; \ | 682 | if(v >= OSSL_DYNAMIC_OLDEST) return OSSL_DYNAMIC_VERSION; \ |
683 | return 0; } | 683 | return 0; } |
@@ -701,8 +701,6 @@ typedef int (*dynamic_bind_engine)(ENGINE *e, const char *id, | |||
701 | const dynamic_fns *fns); | 701 | const dynamic_fns *fns); |
702 | #define IMPLEMENT_DYNAMIC_BIND_FN(fn) \ | 702 | #define IMPLEMENT_DYNAMIC_BIND_FN(fn) \ |
703 | OPENSSL_EXPORT \ | 703 | OPENSSL_EXPORT \ |
704 | int bind_engine(ENGINE *e, const char *id, const dynamic_fns *fns); \ | ||
705 | OPENSSL_EXPORT \ | ||
706 | int bind_engine(ENGINE *e, const char *id, const dynamic_fns *fns) { \ | 704 | int bind_engine(ENGINE *e, const char *id, const dynamic_fns *fns) { \ |
707 | if(ENGINE_get_static_state() == fns->static_state) goto skip_cbs; \ | 705 | if(ENGINE_get_static_state() == fns->static_state) goto skip_cbs; \ |
708 | if(!CRYPTO_set_mem_functions(fns->mem_fns.malloc_cb, \ | 706 | if(!CRYPTO_set_mem_functions(fns->mem_fns.malloc_cb, \ |