aboutsummaryrefslogtreecommitdiffstats
path: root/sm/keylist.c
diff options
context:
space:
mode:
Diffstat (limited to 'sm/keylist.c')
-rw-r--r--sm/keylist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sm/keylist.c b/sm/keylist.c
index 39b82c29d..8a9eaf5e7 100644
--- a/sm/keylist.c
+++ b/sm/keylist.c
@@ -1292,7 +1292,7 @@ list_internal_keys (ctrl_t ctrl, strlist_t names, estream_t fp,
gpg_error_t rc = 0;
const char *lastresname, *resname;
int have_secret;
- int want_ephemeral = opt.with_ephemeral_keys;
+ int want_ephemeral = ctrl->with_ephemeral_keys;
hd = keydb_new (0);
if (!hd)