Skip to contentSkip to conversation

Crypto/chcr: Avoid some code duplication

PATCH Markus Elfring 1 participant 1 message Jul 13, 2020

Subsystems (2)
lore
Share & tools
lore
#0 lore raw
Quoted 2 lines

The error handling path of 'chcr_authenc_setkey()' is the same as this error handling code.

I find this change description improvable.

Quoted 1 line

So just 'goto out' as done everywhere in the function to simplify the code.

I propose to adjust jump targets a bit more for better exception handling in this function implementation.

Regards,
Markus