From: Vitaly Chikunov Date: Fri, 10 Dec 2021 14:46:18 +0000 (+0300) Subject: MSVC: Add dllexport to OSSL_provider_init X-Git-Tag: v3.0.1~17 X-Git-Url: http://wagner.pp.ru/gitweb/?a=commitdiff_plain;h=1c34b3491fd1a83fa29f5d28d67cca62ef965d40;p=openssl-gost%2Fengine.git 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 --- 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,