Skip to content
Commit 8b356fd9 authored by Johan Hedberg's avatar Johan Hedberg Committed by Benjamin Cabé
Browse files

Bluetooth: Host: Fix overwriting ECC error value



Jump straight to the exit portion of the function in the case that
psa_destroy_key() failed and we set err to a non-zero value. This also
fixes Coverity CID 487701 "Code maintainability issues  (UNUSED_VALUE)".

Signed-off-by: default avatarJohan Hedberg <johan.hedberg@silabs.com>
parent e0a9bd73
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment