gpgme/
authorMarcus Brinkmann <mb@g10code.com>
Mon, 29 Oct 2001 00:08:14 +0000 (00:08 +0000)
committerMarcus Brinkmann <mb@g10code.com>
Mon, 29 Oct 2001 00:08:14 +0000 (00:08 +0000)
commitc3e7053489df648dfccf9bb4146c374aa229b483
treeb395cf43b24b8ea14df5b0593daecadc57116e07
parent4a8042beae8a5fe0575bd6df161a216e1e5fc4e8
gpgme/
2001-10-29  Marcus Brinkmann  <marcus@g10code.de>

* context.h: New member signers_len.  * signers.c
(gpgme_signers_clear): Require that signers are non-NULL with
assertion.  Use signers_len to determine how much keys to release.
Add documentation.
(gpgme_signers_add): Use signers_len to determine if the buffer is
large enough.  Use xtryrealloc rather than xtrymalloc and copying.
Add documentation.
(gpgme_signers_enum): Use signers_len to determine if key is
available.  Add documentation.

tests/
2001-10-29  Marcus Brinkmann  <marcus@g10code.de>

* t-signers.c: New file.
* Makefile.am (TESTS): Add t-signers.
gpgme/ChangeLog
gpgme/context.h
gpgme/signers.c
tests/ChangeLog
tests/Makefile.am
tests/t-signers.c [new file with mode: 0644]