Skip to content

Commit f9e6e6d

Browse files
committed
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
2 parents 0a6dce0 + 6342969 commit f9e6e6d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

security/keys/trusted-keys/trusted_tpm2.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,7 @@ static int tpm2_load_cmd(struct tpm_chip *chip,
465465
}
466466

467467
/**
468-
* tpm2_unseal_cmd() - execute a TPM2_Unload command
468+
* tpm2_unseal_cmd() - execute a TPM2_Unseal command
469469
*
470470
* @chip: TPM chip to use
471471
* @payload: the key data in clear and encrypted form
@@ -498,7 +498,7 @@ static int tpm2_unseal_cmd(struct tpm_chip *chip,
498498
return rc;
499499
}
500500

501-
rc = tpm_buf_append_name(chip, &buf, options->keyhandle, NULL);
501+
rc = tpm_buf_append_name(chip, &buf, blob_handle, NULL);
502502
if (rc)
503503
goto out;
504504

0 commit comments

Comments
 (0)