diff options
author | 2020-07-15 23:28:38 +0100 | |
---|---|---|
committer | 2020-07-15 15:49:04 -0700 | |
commit | 6cbba1f9114a8134cff9138c79add15012fd52b9 (patch) | |
tree | 42a921ce57a612cbc1c3238304840aedb684b5aa /tools/perf/scripts/python/export-to-postgresql.py | |
parent | afs: Fix interruption of operations (diff) | |
download | linux-rng-6cbba1f9114a8134cff9138c79add15012fd52b9.tar.xz linux-rng-6cbba1f9114a8134cff9138c79add15012fd52b9.zip |
keys: asymmetric: fix error return code in software_key_query()
Fix to return negative error code -ENOMEM from kmalloc() error handling
case instead of 0, as done elsewhere in this function.
Fixes: f1774cb8956a ("X.509: parse public key parameters from x509 for akcipher")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions