mirror of
git://git.gnupg.org/gnupg.git
synced 2025-04-09 21:41:09 +02:00
2002-06-08 Timo Schulz <ts@winpt.org>
* encode.c (encode_symmetric): Disable the compat flag when the expert mode is enabled.
This commit is contained in:
parent
92cefb688e
commit
fc0d796503
@ -1,3 +1,8 @@
|
||||
2002-06-08 Timo Schulz <ts@winpt.org>
|
||||
|
||||
* encode.c (encode_symmetric): Disable the compat flag
|
||||
when the expert mode is enabled.
|
||||
|
||||
2002-06-07 David Shaw <dshaw@jabberwocky.com>
|
||||
|
||||
* options.skel, options.h, main.h, keydb.h, pkclist.c
|
||||
|
@ -50,7 +50,11 @@ static int write_pubkey_enc_from_list( PK_LIST pk_list, DEK *dek, IOBUF out );
|
||||
int
|
||||
encode_symmetric( const char *filename )
|
||||
{
|
||||
return encode_simple( filename, 1, 1 );
|
||||
int compat = 1;
|
||||
|
||||
if ( opt.expert )
|
||||
compat = 0; /* PGP knows how to handle this mode. */
|
||||
return encode_simple( filename, 1, compat );
|
||||
}
|
||||
|
||||
/****************
|
||||
|
Loading…
x
Reference in New Issue
Block a user