aboutsummaryrefslogtreecommitdiffstats
path: root/sm
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2004-12-19 13:38:24 +0000
committerWerner Koch <[email protected]>2004-12-19 13:38:24 +0000
commite73100a940f7115e4be9f34dca160f622d869005 (patch)
treea9d2248892a8b132e4a2fcafa5dce270ab2d48a8 /sm
parent* configure.ac (AH_BOTTOM): Define EXEEXT_S. (diff)
downloadgnupg-e73100a940f7115e4be9f34dca160f622d869005.tar.gz
gnupg-e73100a940f7115e4be9f34dca160f622d869005.zip
* maperror.c (map_assuan_err_with_source): Oops, args were swapped.
* w32-pth.c (pth_init): Enable debugging depending on env var.
Diffstat (limited to 'sm')
-rw-r--r--sm/keylist.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sm/keylist.c b/sm/keylist.c
index e9985f3ec..aa6db46c3 100644
--- a/sm/keylist.c
+++ b/sm/keylist.c
@@ -1149,8 +1149,8 @@ list_internal_keys (ctrl_t ctrl, STRLIST names, FILE *fp,
char *p = gpgsm_get_keygrip_hexstring (cert);
if (p)
{
- rc = gpgsm_agent_havekey (ctrl, p);
- if (!rc)
+ rc = gpgsm_agent_havekey (ctrl, p);
+ if (!rc)
have_secret = 1;
else if ( gpg_err_code (rc) != GPG_ERR_NO_SECKEY)
goto leave;