aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--g10/ChangeLog5
-rw-r--r--g10/encode.c6
2 files changed, 10 insertions, 1 deletions
diff --git a/g10/ChangeLog b/g10/ChangeLog
index 44ed5c4ca..5d46f5ee7 100644
--- a/g10/ChangeLog
+++ b/g10/ChangeLog
@@ -1,3 +1,8 @@
+2002-06-08 Timo Schulz <[email protected]>
+
+ * encode.c (encode_symmetric): Disable the compat flag
+ when the expert mode is enabled.
+
2002-06-07 David Shaw <[email protected]>
* options.skel, options.h, main.h, keydb.h, pkclist.c
diff --git a/g10/encode.c b/g10/encode.c
index ffb67de32..9c5075f74 100644
--- a/g10/encode.c
+++ b/g10/encode.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 );
}
/****************