aboutsummaryrefslogtreecommitdiffstats
path: root/checks/validate.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2013-03-14 19:07:38 +0000
committerlloyd <[email protected]>2013-03-14 19:07:38 +0000
commit3d4daa8f11c1ba664a2854d0c372bef4cbd54e19 (patch)
treee6f4049b8d1bf958c752c05ae061eb634e0af738 /checks/validate.cpp
parent261a665b1be34f07d5012eed5f6090fd85dd8479 (diff)
OCB decryption
Diffstat (limited to 'checks/validate.cpp')
-rw-r--r--checks/validate.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/checks/validate.cpp b/checks/validate.cpp
index 55af920cd..2126f8a10 100644
--- a/checks/validate.cpp
+++ b/checks/validate.cpp
@@ -416,7 +416,8 @@ u32bit do_validation_tests(const std::string& filename,
errors++;
}
- test_ocb();
+ if(should_pass)
+ test_ocb();
return errors;
}