summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--g10/keygen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/keygen.c b/g10/keygen.c
index a0cfb5c83..ad5acbedc 100644
--- a/g10/keygen.c
+++ b/g10/keygen.c
@@ -2784,7 +2784,7 @@ ask_algo (ctrl_t ctrl, int addmode, int *r_subkey_algo, unsigned int *r_usage,
if (!keyref)
continue;
- if (!agent_scd_readkey (ctrl, keyref, &s_pkey, NULL))
+ if (agent_scd_readkey (ctrl, keyref, &s_pkey, NULL))
continue;
algostr = pubkey_algo_string (s_pkey, &algoid);