1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-11-04 20:38:50 +01:00

* pkclist.c (select_algo_from_prefs): There is an assumed compression

preference for uncompressed data.
This commit is contained in:
David Shaw 2002-05-09 03:44:31 +00:00
parent 40bd97eee3
commit 4cb36096ec
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2002-05-08 David Shaw <dshaw@jabberwocky.com>
* pkclist.c (select_algo_from_prefs): There is an assumed
compression preference for uncompressed data.
2002-05-07 David Shaw <dshaw@jabberwocky.com>
* options.h, g10.c (main), getkey.c (finish_lookup), pkclist.c

View File

@ -1033,7 +1033,10 @@ select_algo_from_prefs( PK_LIST pk_list, int preftype )
else
mask[0] |= (1<<2); /* 3DES is implicitly there for everyone else */
}
if( preftype == PREFTYPE_ZIP )
mask[0] |= (1<<0); /* Uncompressed is implicit */
if (pkr->pk->user_id) /* selected by user ID */
prefs = pkr->pk->user_id->prefs;
else