aboutsummaryrefslogtreecommitdiff
path: root/security/keys/encrypted-keys/encrypted.c
diff options
context:
space:
mode:
authorMimi Zohar <zohar@linux.vnet.ibm.com>2011-09-20 11:23:52 -0400
committerMimi Zohar <zohar@linux.vnet.ibm.com>2011-09-20 23:26:05 -0400
commit2684bf7f29cfb13ef2c60f3b3a53ee47d0db7022 (patch)
treebbdc0709c643e58a22443ab086c6e4aa80329e17 /security/keys/encrypted-keys/encrypted.c
parentb78049831ffed65f0b4e61f69df14f3ab17922cb (diff)
downloadlinux-linaro-2684bf7f29cfb13ef2c60f3b3a53ee47d0db7022.tar.gz
trusted-keys: check hex2bin result
For each hex2bin call in trusted keys, check that the ascii hex string is valid. On failure, return -EINVAL. Changelog v1: - hex2bin now returns an int Signed-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com> Acked-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Diffstat (limited to 'security/keys/encrypted-keys/encrypted.c')
0 files changed, 0 insertions, 0 deletions