]> git.proxmox.com Git - swtpm.git/commit
sample: swtpm-local: Fix a few minor issues
authorStefan Berger <stefanb@linux.ibm.com>
Thu, 27 May 2021 17:10:04 +0000 (13:10 -0400)
committerStefan Berger <stefanb@us.ibm.com>
Thu, 27 May 2021 19:03:48 +0000 (15:03 -0400)
commitb11da814a80c9e7b1dafbd7f2e84c3dd02d53f85
treee7f4fb72b363c0180f39f756edfe225de7b48924
parenteb178f87c6f4ebe8d11aa5e2c397cafbfa1bc18b
sample: swtpm-local: Fix a few minor issues

Have the statedir created in case it doesn't exist before checking for read
and write access to it.

Set the default directory where to write the results into to the current
directory '.' rather than to what would result in the root directory.

Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
samples/py_swtpm_localca/swtpm_localca.py