swtpm/src
Stefan Berger 970faf77b7 swtpm_ioctl: fix ctrlcmd return parameter and fix state recv logic
Return the number of bytes received in case ctrlcmd does not
use an ioctl because in this case we need to know how many bytes
we received in the response.

The receiving of the state blob also needs to take into account
how many bytes were received in the initial response so we write
the proper amount of bytes from that response into the file.

Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
2017-06-30 16:09:27 -04:00
..
selinux initial check-in 2014-12-05 11:16:03 -05:00
swtpm swtpm: silence printf's in TPM1.2 inherited code 2017-06-29 15:49:08 -04:00
swtpm_bios swtpm_bios: Rearrange code for Unix client socket setup 2017-03-14 08:37:56 -04:00
swtpm_cert swtpm_cert: Create sets of items 2017-02-02 13:07:32 -05:00
swtpm_ioctl swtpm_ioctl: fix ctrlcmd return parameter and fix state recv logic 2017-06-30 16:09:27 -04:00
swtpm_setup swtpm_setup: support --tpmstate as alias for --tpm-state 2016-06-26 20:26:53 -04:00
Makefile.am Skip swtpm_setup build if NVRAM tools are not available 2017-01-02 20:53:28 -05:00