1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-03 22:56:33 +02:00

* options.h, g10.c (main), textfilter.c (len_without_trailing_ws): Removed

(not used). (standard): 2440 says that textmode hashes should canonicalize
line endings to CRLF and remove spaces and tabs.  2440bis-12 says to just
canonicalize to CRLF.  So, we default to the 2440bis-12 behavior, but
revert to the strict 2440 behavior if the user specifies --rfc2440.  In
practical terms this makes no difference to any signatures in the real
world except for a textmode detached signature.
This commit is contained in:
David Shaw 2004-12-10 05:35:54 +00:00
parent 9e52cf2758
commit 1c334577f3
4 changed files with 35 additions and 11 deletions

View file

@ -2092,6 +2092,8 @@ main( int argc, char **argv )
opt.escape_from = 1;
break;
case oRFC2440:
opt.strict_2440_line_endings=1;
/* fall through */
case oOpenPGP:
/* TODO: When 2440bis becomes a RFC, these may need
changing. */