From 2b8d8369d59249b89526c18c5ac276e6445dc35e Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Tue, 12 Aug 2014 10:36:30 +0200 Subject: gpg: Remove options --pgp2 and --rfc1991. * g10/gpg.c (oRFC1991, oPGP2): Remove (opts): Remove --pgp2 and --rfc1991. * g10/options.h (CO_PGP2, CO_RFC1991): Remove. Remove all users. (RFC2440, PGP2): Remove. Remove all code only enabled by these conditions. * tests/openpgp/clearsig.test: Remove --rfc1991 test. -- The use of PGP 2.c is considered insecure for quite some time now (e.g. due to the use of MD5). Thus we remove all support for _creating_ PGP 2 compatible messages. --- g10/revoke.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'g10/revoke.c') diff --git a/g10/revoke.c b/g10/revoke.c index bf5e33b3f..67f62e5cc 100644 --- a/g10/revoke.c +++ b/g10/revoke.c @@ -473,7 +473,7 @@ create_revocation (const char *filename, goto leave; } - if (keyblock && (PGP2 || PGP6 || PGP7 || PGP8)) + if (keyblock && (PGP6 || PGP7 || PGP8)) { /* Use a minimal pk for PGPx mode, since PGP can't import bare revocation certificates. */ -- cgit v1.2.3