aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstate/look_pk.h
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-03-05 16:10:55 +0000
committerlloyd <[email protected]>2010-03-05 16:10:55 +0000
commitdf56028cad58fad04b9866326cb62700af8f2fbe (patch)
treedcaa1a80c9f20db7b7993ac54b1aaafd488354c0 /src/libstate/look_pk.h
parent93873731f73e905d8714556f1ebe23acb32de0e1 (diff)
Add verification ops for all signature key types
Diffstat (limited to 'src/libstate/look_pk.h')
-rw-r--r--src/libstate/look_pk.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstate/look_pk.h b/src/libstate/look_pk.h
index d2a056523..a12b3d241 100644
--- a/src/libstate/look_pk.h
+++ b/src/libstate/look_pk.h
@@ -64,7 +64,7 @@ inline PK_Verifier* get_pk_verifier(const PK_Verifying_with_MR_Key& key,
const std::string& emsa,
Signature_Format sig_format = IEEE_1363)
{
- PK_Verifier* verifier = new PK_Verifier_with_MR(key, get_emsa(emsa));
+ PK_Verifier* verifier = new PK_Verifier(key, get_emsa(emsa));
verifier->set_input_format(sig_format);
return verifier;
}
@@ -80,7 +80,7 @@ inline PK_Verifier* get_pk_verifier(const PK_Verifying_wo_MR_Key& key,
const std::string& emsa,
Signature_Format sig_format = IEEE_1363)
{
- PK_Verifier* verifier = new PK_Verifier_wo_MR(key, get_emsa(emsa));
+ PK_Verifier* verifier = new PK_Verifier(key, get_emsa(emsa));
verifier->set_input_format(sig_format);
return verifier;
}