1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-06-15 00:29:49 +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:
Timo Schulz 2002-06-08 16:37:09 +00:00
parent 92cefb688e
commit fc0d796503
2 changed files with 10 additions and 1 deletions

View File

@ -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

View File

@ -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 );
}
/****************