diff options
author | Timo Schulz <[email protected]> | 2002-06-08 16:37:09 +0000 |
---|---|---|
committer | Timo Schulz <[email protected]> | 2002-06-08 16:37:09 +0000 |
commit | fc0d79650378807aa7f8b1c7632cc738fcdd149e (patch) | |
tree | 1b34521f2d266fe0b0b9df4999ced8adcc7e8923 | |
parent | * options.skel, options.h, main.h, keydb.h, pkclist.c (build_pk_list, (diff) | |
download | gnupg-fc0d79650378807aa7f8b1c7632cc738fcdd149e.tar.gz gnupg-fc0d79650378807aa7f8b1c7632cc738fcdd149e.zip |
2002-06-08 Timo Schulz <[email protected]>
* encode.c (encode_symmetric): Disable the compat flag
when the expert mode is enabled.
-rw-r--r-- | g10/ChangeLog | 5 | ||||
-rw-r--r-- | g10/encode.c | 6 |
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 ); } /**************** |