diff options
author | Vitaly Chikunov <vt@altlinux.org> | 2021-12-05 11:07:11 +0300 |
---|---|---|
committer | Dmitry Belyavskiy <beldmit@users.noreply.github.com> | 2021-12-11 19:45:14 +0300 |
commit | 1ca11da3479fcc98ed8343c9d83684a87a0ee052 (patch) | |
tree | 6bc4d658fb561fc8bb395d842bc786bbbc988380 /test_derive.c | |
parent | a78aa26906bf544e7771c0af67fa074bd535ade9 (diff) | |
download | gost-engine-1ca11da3479fcc98ed8343c9d83684a87a0ee052.zip gost-engine-1ca11da3479fcc98ed8343c9d83684a87a0ee052.tar.gz gost-engine-1ca11da3479fcc98ed8343c9d83684a87a0ee052.tar.bz2 |
MSVC: Fix 'no OPENSSL_Applink' error
Error message:
OPENSSL_Uplink(00007FF9FB00F600,08): no OPENSSL_Applink
Link: https://www.openssl.org/docs/faq.html#PROG3
Signed-off-by: Vitaly Chikunov <vt@altlinux.org>
Diffstat (limited to 'test_derive.c')
-rw-r--r-- | test_derive.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test_derive.c b/test_derive.c index 09b01ac..08577cd 100644 --- a/test_derive.c +++ b/test_derive.c @@ -7,6 +7,11 @@ * See https://www.openssl.org/source/license.html for details */ +#ifdef _MSC_VER +# pragma warning(push, 3) +# include <openssl/applink.c> +# pragma warning(pop) +#endif #include <openssl/ec.h> #include <openssl/engine.h> #include <openssl/err.h> |