diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2016-06-17 12:16:19 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2016-06-20 19:25:03 +0800 |
commit | 01ac94580ac2f7076394212ca963da7409016796 (patch) | |
tree | a63a5ac8cfe33d6cf7120992013e0828cf881e2e /crypto/crypto_user.c | |
parent | 79cc6ab8947bd238b64afddc56ed84ee65f012ef (diff) | |
download | linux-01ac94580ac2f7076394212ca963da7409016796.tar.bz2 |
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 <dan.carpenter@oracle.com>
Acked-by: Stephan Mueller <smueller@chronox.de>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/crypto_user.c')
0 files changed, 0 insertions, 0 deletions