mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
fix off-by-one in building attribute subpackets
change default compression to 1 add ask-sig-expire and ask-cert-expire (--expert was getting absurdly overloaded) permit v3 subkeys use --expert to protect adding multiple photo ids and adding photos to a v3 key
This commit is contained in:
parent
bfec9806d2
commit
7997bba7a9
8 changed files with 106 additions and 19 deletions
|
@ -397,7 +397,11 @@ encode_crypt( const char *filename, STRLIST remusr )
|
|||
; /* don't use compression */
|
||||
else {
|
||||
if( compr_algo == 1 )
|
||||
zfx.algo = 1; /* default is 2 */
|
||||
zfx.algo = 1;
|
||||
if( compr_algo == 2 )
|
||||
zfx.algo = 2;
|
||||
/* Any other compr_algo will fall back to
|
||||
opt.def_compress_algo in the compress_filter. */
|
||||
iobuf_push_filter( out, compress_filter, &zfx );
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue