pgp2 option seems not to set disable_mdc

Nico n-roeser at gmx.net
Thu Jun 24 14:41:44 CEST 2010


Hello!

The GnuPG 2.0.15 manual documents that --pgp2 implies --disable-mdc.
When I print the value of opt.disable_mdc at the end of the main method
in g10/gpg.c, I can see that it is still 0. The code does not seem to
set it for PGP2.

I assume that either the documentation or the code are buggy. But there
may be additional options involving mdc (perhaps use_mdc()?) that
disable MDC for PGP2-compliance mode, and do not use opt.disable_mdc.

I’d be happy if someone could double-check and enlighten me (or fix the
bug if it is one).

Thanks
-- 
Nico

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: OpenPGP digital signature
URL: </pipermail/attachments/20100624/20b01aa0/attachment.pgp>


More information about the Gnupg-devel mailing list