aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/kat_nr.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2014-01-10 00:08:13 +0000
committerlloyd <[email protected]>2014-01-10 00:08:13 +0000
commit57789bdfc55061002b2727d0b32587612829a37c (patch)
tree99f36631b4ec50c5187a1b0a7c256b99182373ad /src/tests/kat_nr.cpp
parent94968c917407a63d888fd3eb4d02491f60de6ebc (diff)
Split up test vectors into per-algo files and app into botan-test for
the tests and botan for everything else.
Diffstat (limited to 'src/tests/kat_nr.cpp')
-rw-r--r--src/tests/kat_nr.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/kat_nr.cpp b/src/tests/kat_nr.cpp
index 7e038542d..7946ed324 100644
--- a/src/tests/kat_nr.cpp
+++ b/src/tests/kat_nr.cpp
@@ -35,14 +35,14 @@ size_t nr_sig_kat(const std::string& p,
PK_Verifier verify(pubkey, padding);
PK_Signer sign(privkey, padding);
- return validate_signature(verify, sign, "nr/" + hash, msg, nonce, signature);
+ return validate_signature(verify, sign, "nr/" + hash, msg, rng, nonce, signature);
}
}
size_t test_nr()
{
- std::ifstream nr_sig(TEST_DATA_DIR "/nr.vec");
+ std::ifstream nr_sig(PK_TEST_DATA_DIR "/nr.vec");
size_t fails = 0;