diff options
author | Jack Lloyd <[email protected]> | 2016-12-19 00:32:51 -0500 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2016-12-19 00:32:51 -0500 |
commit | 4b1a1fd5ec72df31bc43c5d82311a316c60d61f6 (patch) | |
tree | 3faf085ba5270f92d1d50b09e5fd642f9041b035 /src/tests/test_gost_3410.cpp | |
parent | abac6ab59b363c2ac571d13496a70d98e04a5c2f (diff) |
Minor refactoring of Text_Based_Test
Turns out astyle has some bugs wrt C++11 initialize lists. Rather
than having astyle mangle all of the tests, convert to using a string
which is split once at the start instead of a vector of keys.
Diffstat (limited to 'src/tests/test_gost_3410.cpp')
-rw-r--r-- | src/tests/test_gost_3410.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/test_gost_3410.cpp b/src/tests/test_gost_3410.cpp index 70eb28870..55750d416 100644 --- a/src/tests/test_gost_3410.cpp +++ b/src/tests/test_gost_3410.cpp @@ -24,7 +24,7 @@ class GOST_3410_2001_Verification_Tests : public PK_Signature_Verification_Test GOST_3410_2001_Verification_Tests() : PK_Signature_Verification_Test( "GOST 34.10-2001", "pubkey/gost_3410_verify.vec", - {"Group", "Pubkey", "Hash", "Msg", "Signature"}) + "Group,Pubkey,Hash,Msg,Signature") {} std::unique_ptr<Botan::Public_Key> load_public_key(const VarMap& vars) override @@ -49,7 +49,7 @@ class GOST_3410_2001_Signature_Tests : public PK_Signature_Generation_Test GOST_3410_2001_Signature_Tests() : PK_Signature_Generation_Test( "GOST 34.10-2001", "pubkey/gost_3410_sign.vec", - {"Group", "Privkey", "Hash", "Nonce", "Msg", "Signature"}, {}) + "Group,Privkey,Hash,Nonce,Msg,Signature") {} std::unique_ptr<Botan::Private_Key> load_private_key(const VarMap& vars) override |