GNUPG-1-9-BRANCH gnupg/sm (6 files)

cvs user werner cvs at cvs.gnupg.org
Wed Dec 17 18:12:14 CET 2003


    Date: Wednesday, December 17, 2003 @ 18:12:14
  Author: werner
    Path: /cvs/gnupg/gnupg/sm
     Tag: GNUPG-1-9-BRANCH

Modified: ChangeLog certlist.c encrypt.c gpgsm.c gpgsm.h server.c

* server.c (gpgsm_server): Add arg DEFAULT_RECPLIST.
(cmd_encrypt): Add all enrypt-to marked certs to the list.
* encrypt.c (gpgsm_encrypt): Check that real recipients are
available.
* gpgsm.c (main): Make the --encrypt-to and --no-encrypt-to
options work.  Pass the list of recients to gpgsm_server.
* gpgsm.h (certlist_s): Add field IS_ENCRYPT_TO.
(opt): Add NO_ENCRYPT_TO.
* certlist.c (gpgsm_add_to_certlist): New arg IS_ENCRYPT_TO.
Changed all callers and ignore duplicate entries.
(is_cert_in_certlist): New.
(gpgsm_add_cert_to_certlist): New.


------------+
 ChangeLog  |   13 ++++++++
 certlist.c |   90 +++++++++++++++++++++++++++++++++++++++++++----------------
 encrypt.c  |   12 +++++--
 gpgsm.c    |   70 +++++++++++++++++++++++++++++----------------
 gpgsm.h    |   56 +++++++++++++++++++++---------------
 server.c   |   42 +++++++++++++++++++--------
 6 files changed, 197 insertions(+), 86 deletions(-)



More information about the Gnupg-commits mailing list