doc/
authorMarcus Brinkmann <mb@g10code.com>
Wed, 6 Mar 2002 01:40:25 +0000 (01:40 +0000)
committerMarcus Brinkmann <mb@g10code.com>
Wed, 6 Mar 2002 01:40:25 +0000 (01:40 +0000)
commit748aa18dc6ca9cb25e534fcf2028fb61fde98318
tree773bce7d68f48a235abad473663df6e02c8a65af
parent7c308977d0531a2063de41a2b3cb56ac4ccdaf9c
doc/
2002-03-06  Marcus Brinkmann  <marcus@g10code.de>

* gpgme.texi (Encrypting a Plaintext): Document symmetric
encryption.

gpgme/
2002-03-06  Marcus Brinkmann  <marcus@g10code.de>

* encrypt.c (_gpgme_encrypt_sym_status_handler): New function.
(gpgme_op_encrypt_start): New variable SYMMETRIC, set it if RECP
is null, and if it is set, use _gpgme_encrypt_sym_status_handler
as status handler and run _gpgme_passphrase_start.
* rungpg.c (_gpgme_gpg_op_encrypt): If RECP is zero, do symmetric
encryption.
* engine-gpgsm.c (_gpgme_gpgsm_op_encrypt): If RECP is zero,
return error value.

* rungpg.c (_gpgme_gpg_op_verify): Add "--" argument.

tests/
2002-03-06  Marcus Brinkmann  <marcus@g10code.de>

* gpg/t-encrypt-sym.c: New file.
* gpg/Makefile.am (TESTS): Add t-encrypt-sym.
NEWS
doc/ChangeLog
doc/gpgme.texi
gpgme/ChangeLog
gpgme/encrypt.c
gpgme/engine-gpgsm.c
gpgme/rungpg.c
tests/ChangeLog
tests/gpg/Makefile.am
tests/gpg/t-encrypt-sym.c [new file with mode: 0644]