From 1c34b3491fd1a83fa29f5d28d67cca62ef965d40 Mon Sep 17 00:00:00 2001 From: Vitaly Chikunov Date: Fri, 10 Dec 2021 17:46:18 +0300 Subject: [PATCH] MSVC: Add dllexport to OSSL_provider_init `OSSL_provider_init' requires dllexport attribute to be visible (and thus loadable) in DLL. Link: https://github.com/openssl/openssl/issues/17203 Signed-off-by: Vitaly Chikunov --- gost_prov.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gost_prov.c b/gost_prov.c index e7fdd96..390275c 100644 --- a/gost_prov.c +++ b/gost_prov.c @@ -143,6 +143,7 @@ struct prov_ctx_st { # define OSSL_provider_init GOST_provider_init #endif +OPENSSL_EXPORT int OSSL_provider_init(const OSSL_CORE_HANDLE *core, const OSSL_DISPATCH *in, const OSSL_DISPATCH **out, -- 2.39.5