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)
commitd36a213f3f35c1fc2234856312476f2a76196d36
tree89d233952977a23ba2d25474f5cb57c45822cdba
parent98512fb6f2d5267b43dee9675d90125bc2eaed60
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.
trunk/gpgme/ChangeLog
trunk/gpgme/context.h
trunk/gpgme/signers.c
trunk/tests/ChangeLog
trunk/tests/Makefile.am
trunk/tests/t-signers.c [new file with mode: 0644]