diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2017-06-08 14:47:49 +0100 |
---|---|---|
committer | James Morris <james.l.morris@oracle.com> | 2017-06-09 13:29:45 +1000 |
commit | 7a957c7bf59b44f1982e438bc0465a108a1777fb (patch) | |
tree | 39130a3e5472eac721da06e064bfd4fc840ea456 /crypto/asymmetric_keys/public_key.c | |
parent | 82c1c5a1d244a6feddce69ba262462e1b50c3c14 (diff) | |
download | linux-crypto-7a957c7bf59b44f1982e438bc0465a108a1777fb.tar.gz linux-crypto-7a957c7bf59b44f1982e438bc0465a108a1777fb.zip |
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: 2f265d619107 ("crypto: KEYS: convert public key and digsig asym to the akcipher api")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: James Morris <james.l.morris@oracle.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions