fix test failure

This commit is contained in:
yinyiqian1
2025-12-08 17:34:20 -05:00
parent d9da8733be
commit 6dece25cc3
2 changed files with 3 additions and 1 deletions

View File

@@ -18,6 +18,7 @@ ripple::Buffer
generatePlaceholderCiphertext()
{
Buffer buf(ecGamalEncryptedTotalLength);
std::memset(buf.data(), 0, ecGamalEncryptedTotalLength);
buf.data()[0] = 0x02;
buf.data()[ecGamalEncryptedLength] = 0x02;