aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/test_dh.cpp
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2016-10-08 13:32:51 -0400
committerJack Lloyd <[email protected]>2016-10-08 13:32:51 -0400
commitb0e003b6e4f4a51851e4f2097079669027f7aa8d (patch)
tree50027040757da73bd0b50e6ebf2fcee583657993 /src/tests/test_dh.cpp
parent62cd6e3651711f759f870460599596ff5be904a5 (diff)
parent2747e8e23aec43162009e4d281ca5e7e50d5a003 (diff)
Merge GH #625 Remove static init from PK operations code
Also removes hidden RNG in Blinder (GH #615)
Diffstat (limited to 'src/tests/test_dh.cpp')
-rw-r--r--src/tests/test_dh.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/test_dh.cpp b/src/tests/test_dh.cpp
index e82ce522a..8724d92fb 100644
--- a/src/tests/test_dh.cpp
+++ b/src/tests/test_dh.cpp
@@ -66,7 +66,7 @@ class Diffie_Hellman_KAT_Tests : public PK_Key_Agreement_Test
const Botan::BigInt x("46205663093589612668746163860870963912226379131190812163519349848291472898748");
std::unique_ptr<Private_Key> privkey(new DH_PrivateKey(Test::rng(), grp, x));
- std::unique_ptr<PK_Key_Agreement> kas(new PK_Key_Agreement(*privkey, "Raw"));
+ std::unique_ptr<PK_Key_Agreement> kas(new PK_Key_Agreement(*privkey, rng(), "Raw"));
result.test_throws("agreement input too big", [&kas]()
{