diff options
author | lloyd <[email protected]> | 2010-03-05 16:10:55 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2010-03-05 16:10:55 +0000 |
commit | df56028cad58fad04b9866326cb62700af8f2fbe (patch) | |
tree | dcaa1a80c9f20db7b7993ac54b1aaafd488354c0 /src/libstate/look_pk.h | |
parent | 93873731f73e905d8714556f1ebe23acb32de0e1 (diff) |
Add verification ops for all signature key types
Diffstat (limited to 'src/libstate/look_pk.h')
-rw-r--r-- | src/libstate/look_pk.h | 4 |
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; } |