diff options
author | Neal H. Walfield <[email protected]> | 2015-09-16 11:44:40 +0000 |
---|---|---|
committer | Neal H. Walfield <[email protected]> | 2015-09-16 13:15:27 +0000 |
commit | 7333e704efde6923d4b914b37e9a92c4a5bab156 (patch) | |
tree | c515354f65c4ad101dfa132be941ee1435f322ec | |
parent | g10: Bring cache semantics closer to non-cache semantics. (diff) | |
download | gnupg-7333e704efde6923d4b914b37e9a92c4a5bab156.tar.gz gnupg-7333e704efde6923d4b914b37e9a92c4a5bab156.zip |
g10: Remove unused function have_any_secret_key.
* g10/getkey.c (have_any_secret_key): Remove function.
--
Signed-off-by: Neal H. Walfield <[email protected]>.
Diffstat (limited to '')
-rw-r--r-- | g10/getkey.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/g10/getkey.c b/g10/getkey.c index f41c2c91c..68e8c1b04 100644 --- a/g10/getkey.c +++ b/g10/getkey.c @@ -2893,20 +2893,6 @@ parse_auto_key_locate (char *options) } -/* Return true if a secret key or secret subkey is available for one - of the public keys in KEYBLOCK. */ -int -have_any_secret_key (ctrl_t ctrl, kbnode_t keyblock) -{ - kbnode_t node; - - for (node = keyblock; node; node = node->next) - if ((node->pkt->pkttype == PKT_PUBLIC_KEY - || node->pkt->pkttype == PKT_PUBLIC_SUBKEY) - && !agent_probe_secret_key (ctrl, node->pkt->pkt.public_key)) - return 1; - return 0; -} /* Return true if a secret key is available for the public key with |