aboutsummaryrefslogtreecommitdiffstats
path: root/agent/protect-tool.c
diff options
context:
space:
mode:
Diffstat (limited to 'agent/protect-tool.c')
-rw-r--r--agent/protect-tool.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/agent/protect-tool.c b/agent/protect-tool.c
index bcbe4588d..178a20849 100644
--- a/agent/protect-tool.c
+++ b/agent/protect-tool.c
@@ -404,6 +404,7 @@ read_and_unprotect (ctrl_t ctrl, const char *fname)
log_info ("key protection done at [unknown]\n");
}
+ resultlen = fixup_when_ecc_private_key (result, resultlen);
if (opt_armor)
{
char *p = make_advanced (result, resultlen);