aboutsummaryrefslogtreecommitdiffstats
path: root/agent/command.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2014-04-15 14:40:48 +0000
committerWerner Koch <[email protected]>2014-04-15 17:44:42 +0000
commitc4d983239a3f0a18c77f0a5aeba520a81a1b86e8 (patch)
treed7ae8c7eb42b0001f343039aa5f0f5515626482e /agent/command.c
parentgpg: Change pinentry prompt to talk about "secret key". (diff)
downloadgnupg-c4d983239a3f0a18c77f0a5aeba520a81a1b86e8.tar.gz
gnupg-c4d983239a3f0a18c77f0a5aeba520a81a1b86e8.zip
gpg: Fix regression in secret key export.
* agent/cvt-openpgp.c (convert_to_openpgp): Fix use gcry_sexp_extract_param. * g10/export.c (do_export_stream): Provide a proper prompt to the agent. -- NB: The export needs more work, in particular the ECC algorithms.
Diffstat (limited to '')
-rw-r--r--agent/command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/agent/command.c b/agent/command.c
index 52876a9a9..e17232e98 100644
--- a/agent/command.c
+++ b/agent/command.c
@@ -2147,7 +2147,7 @@ cmd_export_key (assuan_context_t ctx, char *line)
if (!ctrl->server_local->export_key)
{
- err = set_error (GPG_ERR_MISSING_KEY, "did you run KEYWRAP_KEY");
+ err = set_error (GPG_ERR_MISSING_KEY, "did you run KEYWRAP_KEY ?");
goto leave;
}