]> www.wagner.pp.ru Git - openssl-gost/engine.git/blobdiff - test_gost89.c
tcl_tests: ca.try: Ignore openssl crl exit status for 'corrupted CRL' test
[openssl-gost/engine.git] / test_gost89.c
index cdba842210f94cb5dd8bd8ceb83a436ef2e40c64..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>
@@ -58,7 +63,7 @@ int main(void)
 
     if (memcmp(meshed_key, buf, 32)) {
         fprintf(stderr, "Magma meshing failed");
-       ret = 1;
+        ret = 1;
     }
 
     acpkm_magma_key_meshing(&ctx);