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_gost2814789.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_gost2814789.c')
-rw-r--r-- | test_gost2814789.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test_gost2814789.c b/test_gost2814789.c index 20e3fe0..211e577 100644 --- a/test_gost2814789.c +++ b/test_gost2814789.c @@ -7,6 +7,11 @@ * This file is distributed under the same license as OpenSSL * ==================================================================== */ +#ifdef _MSC_VER +# pragma warning(push, 3) +# include <openssl/applink.c> +# pragma warning(pop) +#endif #include <stdio.h> #include <stdlib.h> |