summaryrefslogtreecommitdiff
path: root/validat8.cpp
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2021-03-21 04:06:38 -0400
committerJeffrey Walton <noloader@gmail.com>2021-03-21 04:06:38 -0400
commitab9461ec5ebfa73b2bf31572cd5d745b37e45baa (patch)
tree5078ba749fa858f9d6484e967a928d2791562749 /validat8.cpp
parenta73d83c8815279d70722daf852439f929543174c (diff)
downloadcryptopp-git-ab9461ec5ebfa73b2bf31572cd5d745b37e45baa.tar.gz
Add additional ASN.1 self tests
Diffstat (limited to 'validat8.cpp')
-rw-r--r--validat8.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/validat8.cpp b/validat8.cpp
index 325fd370..ef4bd389 100644
--- a/validat8.cpp
+++ b/validat8.cpp
@@ -122,7 +122,7 @@ bool ValidateRSA_Encrypt()
byte out[256], outPlain[128];
bool pass = true, fail;
-#ifdef CRYPTOPP_COVERAGE
+#if defined(CRYPTOPP_EXTENDED_VALIDATION)
{
FileSource keys(DataDir("TestData/rsa1024.dat").c_str(), true, new HexDecoder);
RSA::PrivateKey rsaPriv; rsaPriv.Load(keys);
@@ -220,7 +220,7 @@ bool ValidateLUC_Encrypt()
{
bool pass = true, fail;
-#ifdef CRYPTOPP_COVERAGE
+#if defined(CRYPTOPP_EXTENDED_VALIDATION)
{
FileSource keys(DataDir("TestData/luc1024.dat").c_str(), true, new HexDecoder);
LUC::PrivateKey lucPriv; lucPriv.BERDecode(keys);
@@ -306,7 +306,7 @@ bool ValidateRabin_Encrypt()
{
bool pass = true, fail;
-#ifdef CRYPTOPP_COVERAGE
+#if defined(CRYPTOPP_EXTENDED_VALIDATION)
{
FileSource keys(DataDir("TestData/rabi1024.dat").c_str(), true, new HexDecoder);
Rabin::PrivateKey rabinPriv; rabinPriv.BERDecode(keys);