Skip to content
Commit 4e9cc9a0 authored by Pranay Kr. Srivastava's avatar Pranay Kr. Srivastava Committed by Greg Kroah-Hartman
Browse files

return same error value from spk_set_key_info



This patch makes spk_set_key_info return -EINVAL
in case of failure instead of returning 4 different
values for the type of error that occurred.

Print the offending values instead as debug message.

Signed-off-by: default avatarPranay Kr. Srivastava <pranjas@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 2c14d2e4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment