aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2016-06-17 12:16:19 +0300
committerHerbert Xu <[email protected]>2016-06-20 19:25:03 +0800
commit01ac94580ac2f7076394212ca963da7409016796 (patch)
treea63a5ac8cfe33d6cf7120992013e0828cf881e2e /tools
parent79cc6ab8947bd238b64afddc56ed84ee65f012ef (diff)
crypto: drbg - fix an error code in drbg_init_sym_kernel()
We accidentally return PTR_ERR(NULL) which is success but we should return -ENOMEM. Fixes: 355912852115 ('crypto: drbg - use CTR AES instead of ECB AES') Signed-off-by: Dan Carpenter <[email protected]> Acked-by: Stephan Mueller <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions