diff options
author | Jack Lloyd <[email protected]> | 2017-10-01 09:44:43 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2017-10-02 10:23:08 -0400 |
commit | 4fbd7d243481f81a60daaca3ef904ddf14026c26 (patch) | |
tree | 7e5c1bd8578ac1c5c8730d924a137a2309cd9346 /src/tests/test_sm2.cpp | |
parent | 78fc119ed900210268931abf606f0682e3148a77 (diff) |
Remove redundant "virtual override" declarations.
Diffstat (limited to 'src/tests/test_sm2.cpp')
-rw-r--r-- | src/tests/test_sm2.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/test_sm2.cpp b/src/tests/test_sm2.cpp index d81d2c8a8..16b82b792 100644 --- a/src/tests/test_sm2.cpp +++ b/src/tests/test_sm2.cpp @@ -29,7 +29,7 @@ class SM2_Signature_KAT_Tests final : public PK_Signature_Generation_Test "P,A,B,xG,yG,Order,Cofactor,Ident,Msg,x,Nonce,Signature", "Hash") {} - virtual std::string default_padding(const VarMap& vars) const override + std::string default_padding(const VarMap& vars) const override { return get_req_str(vars, "Ident") + "," + get_opt_str(vars, "Hash", "SM3"); } @@ -73,7 +73,7 @@ class SM2_Encryption_KAT_Tests final : public PK_Encryption_Decryption_Test "P,A,B,xG,yG,Order,Cofactor,Msg,x,Nonce,Ciphertext", "Hash") {} - virtual std::string default_padding(const VarMap& vars) const override + std::string default_padding(const VarMap& vars) const override { return get_opt_str(vars, "Hash", "SM3"); } |