aboutsummaryrefslogtreecommitdiffstats
path: root/g10/getkey.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2009-05-06 09:36:06 +0000
committerWerner Koch <[email protected]>2009-05-06 09:36:06 +0000
commitb6798b5d8d337f4c750f7a6744fcb78687bf4f72 (patch)
tree30c47c7110324d3825f73c3c1daf9383795cb121 /g10/getkey.c
parent* gpgkeys_mailto.in: Set 'mail-from' as a keyserver-option, rather (diff)
downloadgnupg-b6798b5d8d337f4c750f7a6744fcb78687bf4f72.tar.gz
gnupg-b6798b5d8d337f4c750f7a6744fcb78687bf4f72.zip
Fix bug#1034.
Remove dead code.
Diffstat (limited to 'g10/getkey.c')
-rw-r--r--g10/getkey.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/g10/getkey.c b/g10/getkey.c
index d2f8ad962..54843cfb2 100644
--- a/g10/getkey.c
+++ b/g10/getkey.c
@@ -2640,16 +2640,6 @@ finish_lookup (GETKEY_CTX ctx)
goto found;
}
- if (!req_usage) {
- PKT_public_key *pk = foundk->pkt->pkt.public_key;
- if (pk->user_id)
- free_user_id (pk->user_id);
- pk->user_id = scopy_user_id (foundu);
- ctx->found_key = foundk;
- cache_user_id( keyblock );
- return 1; /* found */
- }
-
latest_date = 0;
latest_key = NULL;
/* do not look at subkeys if a certification key is requested */