From: Thomas Roessler Date: Wed, 6 Dec 2000 20:31:46 +0000 (+0000) Subject: Fix pgp_ignore_subkeys. X-Git-Tag: mutt-1-3-13-rel~17 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f25e8306f95f3ac7763a666c8cbd184cd5da1b7c;p=mutt Fix pgp_ignore_subkeys. --- diff --git a/gnupgparse.c b/gnupgparse.c index 20f8834a..7be19517 100644 --- a/gnupgparse.c +++ b/gnupgparse.c @@ -216,8 +216,8 @@ static pgp_key_t *parse_pub_line (char *buf, int *is_subkey, pgp_key_t *k) { dprint (2, (debugfile, "key id: %s\n", p)); - /* We really should do a check here */ - mutt_str_replace (&k->keyid, p); + if (!(*is_subkey && option (OPTPGPIGNORESUB))) + mutt_str_replace (&k->keyid, p); break; }