]> git.ipfire.org Git - thirdparty/openssl.git/blobdiff - providers/legacy/legacyprov.c
When building of modules is disabled, build the legacy provider into libcrypto
[thirdparty/openssl.git] / providers / legacy / legacyprov.c
index 9b2df1e5e769e2e3fc7310a58818e73a07fd6ce5..89587d632c6235ee53f14d3bf70cd03917b17a46 100644 (file)
 #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;