aboutsummaryrefslogtreecommitdiffstats
path: root/checks
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-03-09 01:33:21 +0000
committerlloyd <[email protected]>2010-03-09 01:33:21 +0000
commita4df64935b788e541206547d5d85665c191e2f5f (patch)
tree87f66b01ca61418b8fb530ade119cc070aa153f5 /checks
parent56a19fb01f3b0651359f059b51eef26e408015b4 (diff)
Dont need RNG in this test
Diffstat (limited to 'checks')
-rw-r--r--checks/pk.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/checks/pk.cpp b/checks/pk.cpp
index a69fa7bc7..f0343afec 100644
--- a/checks/pk.cpp
+++ b/checks/pk.cpp
@@ -482,8 +482,7 @@ u32bit validate_dsa_sig(const std::string& algo,
}
u32bit validate_ecdsa_sig(const std::string& algo,
- const std::vector<std::string>& str,
- RandomNumberGenerator& rng)
+ const std::vector<std::string>& str)
{
if(str.size() != 5)
throw std::runtime_error("Invalid input from pk_valid.dat");
@@ -812,7 +811,7 @@ u32bit do_pk_validation_tests(const std::string& filename,
new_errors = validate_dsa_ver(algorithm, substr);
else if(algorithm.find("ECDSA/") == 0)
- new_errors = validate_ecdsa_sig(algorithm, substr, rng);
+ new_errors = validate_ecdsa_sig(algorithm, substr);
else if(algorithm.find("RSAES_PKCS8/") == 0)
new_errors = validate_rsa_enc_pkcs8(algorithm, substr, rng);