aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/kat_ecdsa.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/kat_ecdsa.cpp')
-rw-r--r--src/tests/kat_ecdsa.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/kat_ecdsa.cpp b/src/tests/kat_ecdsa.cpp
index 3bb15739c..32747c7b0 100644
--- a/src/tests/kat_ecdsa.cpp
+++ b/src/tests/kat_ecdsa.cpp
@@ -30,14 +30,14 @@ size_t ecdsa_sig_kat(const std::string& group_id,
PK_Verifier verify(ecdsa, padding);
PK_Signer sign(ecdsa, padding);
- return validate_signature(verify, sign, "DSA/" + hash, msg, nonce, signature);
+ return validate_signature(verify, sign, "DSA/" + hash, msg, rng, nonce, signature);
}
}
size_t test_ecdsa()
{
- std::ifstream ecdsa_sig(TEST_DATA_DIR "/ecdsa.vec");
+ std::ifstream ecdsa_sig(PK_TEST_DATA_DIR "/ecdsa.vec");
size_t fails = 0;