mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-26 18:16:26 +00:00
crypto: aead - Do not set cra_type for new style instances
The function aead_geniv_alloc currently sets cra_type even for new style instances. This is unnecessary and may hide bugs such as when our caller uses crypto_register_instance instead of the correct aead_register_instance. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
parent
1e419c7970
commit
d1ee1f02b7
1 changed files with 1 additions and 3 deletions
Loading…
Add table
Add a link
Reference in a new issue