mirror of
https://github.com/torvalds/linux.git
synced 2026-03-08 03:24:45 +01:00
Hi,
This a late fix for v6.19. BR, Jarkko -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQRE6pSOnaBC00OEHEIaerohdGur0gUCaXZO3gAKCRAaerohdGur 0lIAAQCZwC7ZDCJiygqv4RJkllD4p7D0TE5A+QThYZM4ICM1nQD/cTCpj+JpPkPo +/ioRefxKl1TzXo6yarGgTUa2GhdvwM= =9PUF -----END PGP SIGNATURE----- Merge tag 'keys-trusted-next-6.19-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/jarkko/linux-tpmdd Pull keys fix from Jarkko Sakkinen. * tag 'keys-trusted-next-6.19-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/jarkko/linux-tpmdd: keys/trusted_keys: fix handle passed to tpm_buf_append_name during unseal
This commit is contained in:
commit
f9e6e6d210
1 changed files with 2 additions and 2 deletions
|
|
@ -465,7 +465,7 @@ out:
|
|||
}
|
||||
|
||||
/**
|
||||
* tpm2_unseal_cmd() - execute a TPM2_Unload command
|
||||
* tpm2_unseal_cmd() - execute a TPM2_Unseal command
|
||||
*
|
||||
* @chip: TPM chip to use
|
||||
* @payload: the key data in clear and encrypted form
|
||||
|
|
@ -498,7 +498,7 @@ static int tpm2_unseal_cmd(struct tpm_chip *chip,
|
|||
return rc;
|
||||
}
|
||||
|
||||
rc = tpm_buf_append_name(chip, &buf, options->keyhandle, NULL);
|
||||
rc = tpm_buf_append_name(chip, &buf, blob_handle, NULL);
|
||||
if (rc)
|
||||
goto out;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue