mirror of
https://github.com/openssl/openssl.git
synced 2025-02-11 14:22:43 +08:00
Make OSSL_provider_init() OPENSSL_EXPORT, not just extern
On non-Windows systems, there's no difference at all. On Windows systems, __declspec(dllexport) is added, which ensures it gets exported no matter what. Fixes #17203 Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/17215)
This commit is contained in:
parent
2e3b82926a
commit
d977a26ed8
@ -195,7 +195,7 @@ typedef int (OSSL_provider_init_fn)(const OSSL_CORE_HANDLE *handle,
|
|||||||
# pragma names save
|
# pragma names save
|
||||||
# pragma names uppercase,truncated
|
# pragma names uppercase,truncated
|
||||||
# endif
|
# endif
|
||||||
extern OSSL_provider_init_fn OSSL_provider_init;
|
OPENSSL_EXPORT OSSL_provider_init_fn OSSL_provider_init;
|
||||||
# ifdef __VMS
|
# ifdef __VMS
|
||||||
# pragma names restore
|
# pragma names restore
|
||||||
# endif
|
# endif
|
||||||
|
Loading…
Reference in New Issue
Block a user