aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/test_sm2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/test_sm2.cpp')
-rw-r--r--src/tests/test_sm2.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tests/test_sm2.cpp b/src/tests/test_sm2.cpp
index 24e5c640d..a7eb84774 100644
--- a/src/tests/test_sm2.cpp
+++ b/src/tests/test_sm2.cpp
@@ -46,6 +46,8 @@ class SM2_Signature_KAT_Tests final : public PK_Signature_Generation_Test
"P,A,B,xG,yG,Order,Cofactor,Ident,Msg,x,Nonce,Signature",
"Hash") {}
+ bool clear_between_callbacks() const override { return false; }
+
std::string default_padding(const VarMap& vars) const override
{
return vars.get_req_str("Ident") + "," + vars.get_opt_str("Hash", "SM3");