diff options
author | Eric Biggers <ebiggers@google.com> | 2022-01-18 16:54:35 -0800 |
---|---|---|
committer | Jarkko Sakkinen <jarkko@kernel.org> | 2022-03-08 10:33:18 +0200 |
commit | 9f8b3f321f39d6ff63fb40673c3be61b73ba0a1d (patch) | |
tree | b779b277d970c05ccdeae764f0d5b7ef8ed8278d /crypto/ahash.c | |
parent | 7804fe9e8dc70846ff2c683f4781ed75499b12ae (diff) | |
download | linux-9f8b3f321f39d6ff63fb40673c3be61b73ba0a1d.tar.bz2 |
KEYS: x509: remove never-set ->unsupported_key flag
The X.509 parser always sets cert->pub->pkey_algo on success, since
x509_extract_key_data() is a mandatory action in the X.509 ASN.1
grammar, and it returns an error if the algorithm is unknown. Thus,
remove the dead code which handled this field being NULL. This results
in the ->unsupported_key flag never being set, so remove that too.
Signed-off-by: Eric Biggers <ebiggers@google.com>
Reviewed-by: Jarkko Sakkinen <jarkko@kernel.org>
Signed-off-by: Jarkko Sakkinen <jarkko@kernel.org>
Diffstat (limited to 'crypto/ahash.c')
0 files changed, 0 insertions, 0 deletions