commit | 3bca64c1b9d2f6e7af4512bd9bfef6909d09cdbc | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Mon May 29 16:26:22 2017 +0300 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Sat Jun 10 12:04:32 2017 +0800 |
tree | a5b59930cd42e16aeca4c7290f8887c6da5e8572 | |
parent | a18ccc365f1a29f1b6d7b4a1edbaffb7100fb1f6 [diff] |
X.509: Fix error code in x509_cert_parse() We forgot to set the error code on this path so it could result in returning NULL which leads to a NULL dereference. Fixes: db6c43bd2132 ("crypto: KEYS: convert public key and digsig asym to the akcipher api") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>