diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/cli/speed.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cli/speed.cpp b/src/cli/speed.cpp index 41a6775e4..717c39cde 100644 --- a/src/cli/speed.cpp +++ b/src/cli/speed.cpp @@ -1572,7 +1572,7 @@ class Speed final : public Command Botan::SymmetricKey symkey1 = ka_timer.run([&]() { return ka1.derive_key(32, ka2_pub); }); Botan::SymmetricKey symkey2 = ka_timer.run([&]() { return ka2.derive_key(32, ka1_pub); }); - if(symkey1 != symkey1) + if(symkey1 != symkey2) { error_output() << "Key agreement mismatch in PK bench\n"; } |