gnupg/g10 (ChangeLog encode.c g10.c main.h misc.c sign.c)

cvs user dshaw cvs@cvs.gnupg.org
Mon, 25 Nov 2002 05:24:41 +0100


    Date: Monday, November 25, 2002 @ 05:24:41
  Author: dshaw
    Path: /cvs/gnupg/gnupg/g10

Modified: ChangeLog encode.c g10.c main.h misc.c sign.c

* main.h, misc.c (default_cipher_algo, default_compress_algo): New.  
Return the default algorithm by trying --cipher-algo/--compress-algo, then
the first item in the pref list, then s2k-cipher-algo or ZIP.

* sign.c (sign_file, sign_symencrypt_file), encode.c (encode_simple,
encode_crypt): Call default_cipher_algo and default_compress_algo to get
algorithms.

* g10.c (main): Allow pref selection for compress algo with --openpgp.


-----------+
 ChangeLog |   12 ++++++++++++
 encode.c  |   13 +++++--------
 g10.c     |    2 +-
 main.h    |    2 ++
 misc.c    |   25 +++++++++++++++++++++++++
 sign.c    |   19 +++++--------------
 6 files changed, 50 insertions(+), 23 deletions(-)