diff --git a/contrib/pgcrypto/pgp-decrypt.c b/contrib/pgcrypto/pgp-decrypt.c index 47ae83db789..5f4be35b25a 100644 --- a/contrib/pgcrypto/pgp-decrypt.c +++ b/contrib/pgcrypto/pgp-decrypt.c @@ -388,7 +388,6 @@ mdc_finish(PGP_Context *ctx, PullFilter *src, int len) px_debug("mdc_finish: mdc failed"); return PXE_PGP_CORRUPT_DATA; } - ctx->mdc_checked = 1; return 0; } diff --git a/contrib/pgcrypto/pgp.h b/contrib/pgcrypto/pgp.h index 7b130388fcc..3c4610608d1 100644 --- a/contrib/pgcrypto/pgp.h +++ b/contrib/pgcrypto/pgp.h @@ -156,7 +156,6 @@ struct PGP_Context /* * internal variables */ - int mdc_checked; int corrupt_prefix; /* prefix failed RFC 4880 "quick check" */ int unsupported_compr; /* has bzip2 compression */ int unexpected_binary; /* binary data seen in text_mode */