Skip to content
Commit 95229566 authored by Bob Wolff's avatar Bob Wolff Committed by Tom Rini
Browse files

Check curve_name for null to avoid crash



If mixed rsa and ecdsa keys are specified in dtsi, an rsa key can be sent
into the ecdsa verify. Without the ecdsa,curve property, this function will
crash due to lack of checking the null pointer return.

Signed-off-by: default avatarBob Wolff <bob.wolff68@gmail.com>
parent 6eb682bc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment