summaryrefslogtreecommitdiffstats
path: root/tpm2d
diff options
context:
space:
mode:
authorNIIBE Yutaka <gniibe@fsij.org>2023-09-28 04:59:14 +0200
committerNIIBE Yutaka <gniibe@fsij.org>2023-10-06 02:51:33 +0200
commit9909f622f69e2b5775099931406dce2d35011281 (patch)
tree9622eea9953ea70cce59125307a426a47c8d66a5 /tpm2d
parentagent: Initialize FP for the case of error return. (diff)
downloadgnupg2-9909f622f69e2b5775099931406dce2d35011281.tar.xz
gnupg2-9909f622f69e2b5775099931406dce2d35011281.zip
agent: fix tpm2d keytotpm handling
* agent/divert-tpm2.c (agent_write_tpm2_shadow_key): Call agent_delete_key before agent_write_private_key. Recover from an error. -- Cherry-picked from master commit of: eda3997b439e415f1bebaa3be20c8bdb43d3a1d0 Fixes-commit: a1015bf2fc07dabb1200eab5fa41f13e7bf98202 Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'tpm2d')
0 files changed, 0 insertions, 0 deletions