Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit 946b4b62 authored by Sabrina Dubroca's avatar Sabrina Dubroca Committed by basamaryan
Browse files

UPSTREAM: tls: don't copy the key out of tls12_crypto_info_aes_gcm_128



There's no need to copy the key to an on-stack buffer before calling
crypto_aead_setkey().

Fixes: 3c4d7559 ("tls: kernel TLS support")
Change-Id: Ic5250877443e48223a8b765f19d8fbac8c417e18
Signed-off-by: default avatarSabrina Dubroca <sd@queasysnail.net>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 2ba8eac2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment