diff options
Diffstat (limited to 'providers/legacy/legacyprov.c')
-rw-r--r-- | providers/legacy/legacyprov.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/providers/legacy/legacyprov.c b/providers/legacy/legacyprov.c index 9b2df1e5e7..89587d632c 100644 --- a/providers/legacy/legacyprov.c +++ b/providers/legacy/legacyprov.c @@ -15,6 +15,11 @@ #include <openssl/params.h> #include "internal/provider_algs.h" +#ifdef STATIC_LEGACY +OSSL_provider_init_fn ossl_legacy_provider_init; +# define OSSL_provider_init ossl_legacy_provider_init +#endif + /* Functions provided by the core */ static OSSL_core_gettable_params_fn *c_gettable_params = NULL; static OSSL_core_get_params_fn *c_get_params = NULL; |