]> www.wagner.pp.ru Git - openssl-gost/engine.git/commitdiff
MSVC: Fix 'no OPENSSL_Applink' error
authorVitaly Chikunov <vt@altlinux.org>
Sun, 5 Dec 2021 08:07:11 +0000 (11:07 +0300)
committerDmitry Belyavskiy <beldmit@users.noreply.github.com>
Sat, 11 Dec 2021 16:45:14 +0000 (19:45 +0300)
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>
12 files changed:
test_ciphers.c
test_context.c
test_curves.c
test_derive.c
test_digest.c
test_gost2814789.c
test_gost89.c
test_keyexpimp.c
test_params.c
test_sign.c
test_tls.c
test_tlstree.c

index 2e923a7853a9083a4eb7fdef9c86fbf2dff9c379..60384988e40f43a012ea93768ae5fbf887af18b6 100644 (file)
@@ -5,6 +5,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/engine.h>
 #include <openssl/provider.h>
 #include <openssl/evp.h>
index 293f921076b47745832ff473e1f43c1b0870415b..d9ef57926e11d20b640064495ed7a92a3d2c756a 100644 (file)
@@ -5,6 +5,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/engine.h>
 #include <openssl/evp.h>
 #include <openssl/rand.h>
index 344a50e04e8cbb700c564fd4afee813126cf0fed..865ee8d2d4e3c2bb0bc3eb24f66229c04917e83a 100644 (file)
@@ -5,6 +5,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 "gost_lcl.h"
 #include <openssl/evp.h>
 #include <openssl/rand.h>
index 09b01ac7c34d74ad1c913155507941fdd9815761..08577cda5703fcda185050780445497f88e8d4a5 100644 (file)
@@ -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>
index 9b021989ba9764e96ac009713a4f88ce819a0145..68c0e3253f7366cea9d8525dd7199821d92d7093 100644 (file)
@@ -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/opensslv.h>
 #include <openssl/engine.h>
 #include <openssl/provider.h>
index 20e3fe03078b5c85b5b9d78ffaee458276d077b9..211e577235c33c729a6d5d82991bdca39fee8947 100644 (file)
@@ -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>
index d7f0c96298739e1ef6e22a853a6e6150412b7262..b14d5e4e04c3c59f3509aaac60657669667e2594 100644 (file)
@@ -7,6 +7,11 @@
  *            No OpenSSL libraries required to compile and use        *
  *                              this code                             *
  **********************************************************************/
+#ifdef _MSC_VER
+# pragma warning(push, 3)
+# include <openssl/applink.c>
+# pragma warning(pop)
+#endif
 #include <string.h>
 #include "gost89.h"
 #include <stdio.h>
index 0fa549bf4bbfeddee0e5fda969ea19abbc38feac..0e61b6f43c3d0453331416278ecdfbc9cdbdf61a 100644 (file)
@@ -5,6 +5,9 @@
  * See https://www.openssl.org/source/license.html for details
  */
 #ifdef _MSC_VER
+# pragma warning(push, 3)
+# include <openssl/applink.c>
+# pragma warning(pop)
 # include <Winsock2.h>
 # include <stdlib.h>
 #else
index e0947e28c109f57efaaba1e906494416b05d355b..114193346e63da2362a1b265ae74ac134e424b3b 100644 (file)
@@ -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 "e_gost_err.h"
 #include "gost_lcl.h"
 #include <openssl/evp.h>
index e18acc1bb0692c7ba876c8d3888566f1e51325f0..50b6643ef79286ad54a6b237d87ae68895210113 100644 (file)
@@ -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 "gost_lcl.h"
 #include <openssl/evp.h>
 #include <openssl/rand.h>
index d016e62ca920a7d8427b46302439a34603b89195..1e805c3e67118d57a18a1f381f9c0ccbd14794a6 100644 (file)
@@ -8,6 +8,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 "e_gost_err.h"
 #include "gost_lcl.h"
 #include <openssl/evp.h>
index 1c4ecb8b80047a58d3b8f72346cfc7a383588dab..dece81485750b40782001dcdc84e2f7348d7323b 100644 (file)
@@ -4,6 +4,11 @@
  * Contents licensed under the terms of the OpenSSL license
  * 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 <stdio.h>
 # include <string.h>
 # include <openssl/err.h>