summaryrefslogtreecommitdiff
path: root/regtest1.cpp
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2017-08-18 04:52:20 -0400
committerJeffrey Walton <noloader@gmail.com>2017-08-18 04:52:20 -0400
commit2a7ccd6fd3eabb1abcea447ae1aad7322a60b7d3 (patch)
tree4c7ad0f9a640debc0cc909a8b3fc1e677f6322f5 /regtest1.cpp
parentadfb30a57967888a35d38072453a59dff9f81a11 (diff)
downloadcryptopp-git-2a7ccd6fd3eabb1abcea447ae1aad7322a60b7d3.tar.gz
Clear Coverity finding CONSTANT_EXPRESSION_RESULT (CID 182768)
Diffstat (limited to 'regtest1.cpp')
-rw-r--r--regtest1.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/regtest1.cpp b/regtest1.cpp
index 86780e69..33ff69da 100644
--- a/regtest1.cpp
+++ b/regtest1.cpp
@@ -57,8 +57,8 @@ void RegisterFactories(Test::TestClass suites)
RegisterFactories1();
if ((suites & Test::SharedKeyMAC) == Test::SharedKeyMAC ||
- (suites & Test::SharedKeyMAC) == Test::SharedKeyStream ||
- (suites & Test::SharedKeyMAC) == Test::SharedKeyBlock)
+ (suites & Test::SharedKeyStream) == Test::SharedKeyStream ||
+ (suites & Test::SharedKeyBlock) == Test::SharedKeyBlock)
RegisterFactories2();
if ((suites & Test::PublicKey) == Test::PublicKey)