Skip to content

Commit

Permalink
MSVC: Add dllexport to OSSL_provider_init
Browse files Browse the repository at this point in the history
`OSSL_provider_init' requires dllexport attribute to be visible (and thus
loadable) in DLL.

Link: openssl/openssl#17203
Signed-off-by: Vitaly Chikunov <[email protected]>
  • Loading branch information
vt-alt committed Dec 11, 2021
1 parent c156592 commit 9d2cfe3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gost_prov.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 9d2cfe3

Please sign in to comment.