mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-10 13:04:23 +01:00
* pkclist.c (select_algo_from_prefs): There is an assumed compression
preference for uncompressed data.
This commit is contained in:
parent
40bd97eee3
commit
4cb36096ec
@ -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>
|
2002-05-07 David Shaw <dshaw@jabberwocky.com>
|
||||||
|
|
||||||
* options.h, g10.c (main), getkey.c (finish_lookup), pkclist.c
|
* options.h, g10.c (main), getkey.c (finish_lookup), pkclist.c
|
||||||
|
@ -1033,7 +1033,10 @@ select_algo_from_prefs( PK_LIST pk_list, int preftype )
|
|||||||
else
|
else
|
||||||
mask[0] |= (1<<2); /* 3DES is implicitly there for everyone 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 */
|
if (pkr->pk->user_id) /* selected by user ID */
|
||||||
prefs = pkr->pk->user_id->prefs;
|
prefs = pkr->pk->user_id->prefs;
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user