Skip to content
Commit d658d594 authored by Jarkko Sakkinen's avatar Jarkko Sakkinen
Browse files

tpm: Return tpm2_sessions_init() when null key creation fails



Do not continue tpm2_sessions_init() further if the null key pair creation
fails.

Cc: stable@vger.kernel.org # v6.10+
Fixes: d2add27c ("tpm: Add NULL primary creation")
Reviewed-by: default avatarStefan Berger <stefanb@linux.ibm.com>
Signed-off-by: default avatarJarkko Sakkinen <jarkko@kernel.org>
parent 81983758
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment