summaryrefslogtreecommitdiff
path: root/crypto/cbc.c
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2022-01-18 16:54:35 -0800
committerJarkko Sakkinen <jarkko@kernel.org>2022-03-08 10:33:18 +0200
commitfed6b6e30ef9bac469e129b50477f62f3bf53750 (patch)
tree86af9ee73ca406ac219253be45edfbed33a5bb9d /crypto/cbc.c
parentc92bb902733d3647624c395787c6d2a82d751f96 (diff)
downloadlinux-crypto-fed6b6e30ef9bac469e129b50477f62f3bf53750.tar.gz
linux-crypto-fed6b6e30ef9bac469e129b50477f62f3bf53750.zip
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/cbc.c')
0 files changed, 0 insertions, 0 deletions