diff options
author | Jack Lloyd <[email protected]> | 2019-08-01 10:26:35 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2019-08-01 10:27:17 -0400 |
commit | 76e7e926847ac0c68c9dc8787bafe5559ad51ac8 (patch) | |
tree | ce8258860475b5fad6f00f8efe87d5ff4d5dd56a /src/tests/unit_x509.cpp | |
parent | cb90f825466b08cf8a64c042e72b40d9191f2033 (diff) |
Fix test when GOST or Streebog is disabled
Diffstat (limited to 'src/tests/unit_x509.cpp')
-rw-r--r-- | src/tests/unit_x509.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tests/unit_x509.cpp b/src/tests/unit_x509.cpp index 2a5d18dc7..69ffe3823 100644 --- a/src/tests/unit_x509.cpp +++ b/src/tests/unit_x509.cpp @@ -562,6 +562,7 @@ Test::Result test_verify_gost2012_cert() { Test::Result result("X509 GOST-2012 certificates"); +#if defined(BOTAN_HAS_GOST_34_10_2012) && defined(BOTAN_HAS_STREEBOG) try { Botan::X509_Certificate root_cert(Test::data_file("x509/gost/gost_root.pem")); @@ -579,6 +580,7 @@ Test::Result test_verify_gost2012_cert() { result.test_failure(e.what()); } +#endif return result; } |