diff options
author | Eric Biggers <ebiggers@google.com> | 2022-01-18 16:54:36 -0800 |
---|---|---|
committer | Jarkko Sakkinen <jarkko@kernel.org> | 2022-03-08 10:33:18 +0200 |
commit | f05a31773d0f73a4244148d4dd9deedb0add180d (patch) | |
tree | 0721d705ec3a3d48c2bf72dfb569ed0f90f7be56 /crypto/memneq.c | |
parent | fed6b6e30ef9bac469e129b50477f62f3bf53750 (diff) | |
download | linux-crypto-f05a31773d0f73a4244148d4dd9deedb0add180d.tar.gz linux-crypto-f05a31773d0f73a4244148d4dd9deedb0add180d.zip |
KEYS: x509: remove dead code that set ->unsupported_sig
The X.509 parser always sets cert->sig->pkey_algo and
cert->sig->hash_algo on success, since x509_note_sig_algo() is a
mandatory action in the X.509 ASN.1 grammar, and it returns an error if
the signature's algorithm is unknown. Thus, remove the dead code which
handled these fields being NULL.
Acked-by: Jarkko Sakkinen <jarkko@kernel.org>
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/memneq.c')
0 files changed, 0 insertions, 0 deletions