diff options
Diffstat (limited to 'g10/keylist.c')
-rw-r--r-- | g10/keylist.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/g10/keylist.c b/g10/keylist.c index e222259ac..de651d671 100644 --- a/g10/keylist.c +++ b/g10/keylist.c @@ -553,7 +553,7 @@ list_all (ctrl_t ctrl, int secret, int mark_secret) } if (secret || mark_secret) - any_secret = !agent_probe_any_secret_key (NULL, keyblock); + any_secret = !agent_probe_any_secret_key (ctrl, keyblock); else any_secret = 0; @@ -645,7 +645,7 @@ list_one (ctrl_t ctrl, strlist_t names, int secret, int mark_secret) if (secret) any_secret = 1; else if (mark_secret) - any_secret = !agent_probe_any_secret_key (NULL, keyblock); + any_secret = !agent_probe_any_secret_key (ctrl, keyblock); else any_secret = 0; |