From 9d2cfe368c9b6ec4120c49275b5b851b93268795 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 e7fdd967d..390275c5e 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,