From: Thomas Roessler Date: Sun, 3 Feb 2002 09:14:47 +0000 (+0000) Subject: Fix calculation of fingerprints (and key IDs) for type 20 ElGamal X-Git-Tag: mutt-1-5-1-rel~96 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1234ea27b4c66c3cd57a20e7ae5e7cc8e8a903e6;p=mutt Fix calculation of fingerprints (and key IDs) for type 20 ElGamal keys. Noted by Jason Harris . --- diff --git a/pgppubring.c b/pgppubring.c index 5cfd6a78..c7cc1ad0 100644 --- a/pgppubring.c +++ b/pgppubring.c @@ -291,7 +291,7 @@ static pgp_key_t *pgp_parse_pgp3_key (unsigned char *buff, size_t l) if (alg >= 1 && alg <= 3) skip_bignum (buff, l, j, &j, 2); - else if (alg == 17 || alg == 16) + else if (alg == 17 || alg == 16 || alg == 20) skip_bignum (buff, l, j, &j, 1); pgp_make_pgp3_fingerprint (buff, j, digest);