diff options
author | NIIBE Yutaka <gniibe@fsij.org> | 2023-09-28 04:59:14 +0200 |
---|---|---|
committer | NIIBE Yutaka <gniibe@fsij.org> | 2023-10-06 02:51:33 +0200 |
commit | 9909f622f69e2b5775099931406dce2d35011281 (patch) | |
tree | 9622eea9953ea70cce59125307a426a47c8d66a5 /tpm2d | |
parent | agent: Initialize FP for the case of error return. (diff) | |
download | gnupg2-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