commit | 1bd963a72e859d194d87a5a2a8839efee7e23102 | [log] [tgz] |
---|---|---|
author | Alexey Dobriyan <adobriyan@gmail.com> | Thu Sep 21 23:47:09 2017 +0300 |
committer | Steffen Klassert <steffen.klassert@secunet.com> | Mon Sep 25 07:14:06 2017 +0200 |
tree | ee5b1c33339db67950d7f8bcf34d0ae466aa02e2 | |
parent | 06cd22f830f28023b82455c82c7db65fc6cf9c16 [diff] |
xfrm: make xfrm_alg_auth_len() return unsigned int Key lengths can't be negative. Comparison with nla_len() is left signed just in case negative value can sneak in there. Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>