Skip to content

test_pkcs12_rfc9337: check HMAC result and init MAC buffer - #543

Merged
chipitsine merged 1 commit into
gost-engine:masterfrom
chipitsine:master
Oct 15, 2026
Merged

chipitsine merged 1 commit into
gost-engine:masterfrom
chipitsine:master

Conversation

@chipitsine

Copy link
Copy Markdown
Contributor

Coverity (CID 657591) flagged mac9548 as used uninitialized in memcmp because the HMAC() return value was ignored. Assert that HMAC() succeeds and zero-initialize the output buffer.

Coverity (CID 657591) flagged mac9548 as used uninitialized in memcmp
because the HMAC() return value was ignored. Assert that HMAC() succeeds
and zero-initialize the output buffer.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@chipitsine
chipitsine merged commit 509dcb4 into gost-engine:master Oct 15, 2026
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant