]> git.proxmox.com Git - libtpms.git/commit
Fix logic invoking validation of state
authorStefan Berger <stefanb@linux.vnet.ibm.com>
Wed, 28 Mar 2018 01:51:21 +0000 (21:51 -0400)
committerStefan Berger <stefanb@linux.vnet.ibm.com>
Wed, 28 Mar 2018 01:56:54 +0000 (21:56 -0400)
commitaef3e6fd6b08a8e85062277d0821bc8c3b648918
treec7bb5d6cd7cfffbc8d24c9630c6d1e59569f1c6c
parentf9d920470dd524c0db8149abeb15a70f46866e4d
Fix logic invoking validation of state

The logic for invoking the validation of the TPM 1.2 state was
broken. The validation of volatile and save state state requires
that the permanent state is available, so we always load it
first.

Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
man/man3/TPMLIB_ValidateState.3
man/man3/TPMLIB_ValidateState.pod
src/tpm_tpm12_interface.c