dshaw committed to gnupg/g10

cvs@cvs.gnupg.org cvs@cvs.gnupg.org
Tue, 13 Aug 2002 21:00:23 +0200


Date:	Tuesday August 13, 2002 @ 21:00
Author:	dshaw

Update of /cvs/gnupg/gnupg/g10
In directory trithemius:/tmp/cvs-serv18804

Modified Files:
	ChangeLog cipher.c encode.c g10.c pkclist.c 
Log Message:
* encode.c (encode_simple): Fix problem with using compression algo 2 and
symmetric compressed files.

* encode.c (encode_simple, encode_crypt): If we are not using a MDC,
compress even if a file is already compressed.  This is to help against
the chosen ciphertext attack.

* pkclist.c (select_algo_from_prefs): Fix requested algorithm bug so the
request succeeds even if the requested algorithm is not the first found.

* cipher.c (write_header), encode.c (use_mdc, encode_simple, encode_crypt,
encrypt_filter), g10.c (main): Be more eager to use a MDC.  We use a MDC
if the keys directly support it, if the keys list AES (any) or TWOFISH
anywhere in the prefs, or if the cipher chosen does not have a 64 bit
blocksize.

File: ChangeLog        	Status: Up-to-date
File: cipher.c         	Status: Up-to-date
File: encode.c         	Status: Up-to-date
File: g10.c            	Status: Up-to-date
File: pkclist.c        	Status: Up-to-date