Skip to content

securechannel: check error from MAC calculation#34

Open
nevun wants to merge 1 commit into
certusone:masterfrom
nevun:missing_err_check
Open

securechannel: check error from MAC calculation#34
nevun wants to merge 1 commit into
certusone:masterfrom
nevun:missing_err_check

Conversation

@nevun

@nevun nevun commented Jan 27, 2026

Copy link
Copy Markdown

If calculateMAC returns an error, expectedMac is nil and indexing expectedMac with MACLength will cause a panic.

In practice this will not happen though.

If calculateMAC returns an error, expectedMac is nil and indexing expectedMac with MACLength will cause a panic.

In practice this will not happen though.
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