|  | Commit message (Collapse) | Author | Age | Files | Lines | 
|---|
| | 
| 
| 
| 
| | * decrypt.c (command_handler): Fix last change. | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| | * verify.c (_gpgme_release_verify_result): Rename RES to RESULT.
	Rename R2 to NEXT_RESULT.
	(intersect_stati): Rename RES to RESULT.
	(gpgme_get_sig_status): Likewise.  Do not check return_type, but
	the member verify of result.
	(gpgme_get_sig_key): Likewise.
	* sign.c (_gpgme_release_sign_result): Rename RES to RESULT.  If
	RESULT is zero, return.
	(sign_status_handler, command_handler): Do not check return_type,
	but the member sign of result.
	(gpgme_op_sign): Likewise.  Drop assertion.
	* encrypt.c (_gpgme_release_encrypt_result): Rename RES to RESULT.
	If RESULT is zero, return.
	(encrypt_status_handler): Do not check return_type, but the member
	encrypt of result.
	(gpgme_op_encrypt): Likewise.  Drop assertion.
	* decrypt.c (_gpgme_release_decrypt_result): Rename RES to RESULT.
	(create_result_struct): Do not set result_type.
	(command_handler, decrypt_status_handler): Do not check
	return_type, but the member decrypt of result.
	(gpgme_op_decrypt): Likewise.  Drop assertion.
	* context.h (enum ResultType): Removed.
	(struct gpgme_context_s): Remove member result_type.
	(struct result): Replaces union result.
	* gpgme.c: Include string.h.
	(_gpgme_release_result): Release all members of c->result, which
	is now a struct.  Zero out all members of the struct afterwards. | 
| | 
| 
| 
| 
| 
| 
| | * rungpg.c (_gpgme_gpg_release): Release GPG->cmd.cb_data.
	Release all members of the list GPG->arglist.
	Reported by Michael Schmidt <[email protected]>. | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| | 2001-11-02  Marcus Brinkmann  <[email protected]>
	* rungpg.c (pipemode_copy): Change type of NBYTES to size_t.
	* key.c: Include string.h.
	* data.c: Likewise.
	* recipient.c: Likewise.
tests/
2001-11-02  Marcus Brinkmann  <[email protected]>
	* t-data.c: Include stddef.h.
	(read_once_test): Change type of READ to size_t.
	(read_test): Likewise.
	(write_test): Likewise. | 
| | 
| 
| 
| 
| 
| 
| 
| | * logging.c (log_printf): Do not initialize ARG_PTR with 0, we
	don't know the correct type.  Instead, run va_start and va_end
	unconditionally.
	Reported by Jose Carlos Garcia Sogo <[email protected]>. | 
| | |  | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| | 2001-10-29  Marcus Brinkmann  <[email protected]>
	* 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  <[email protected]>
	* t-signers.c: New file.
	* Makefile.am (TESTS): Add t-signers. | 
| | |  | 
| | |  | 
| | 
| 
| 
| 
| | * Makefile.am (TEST_ENVIRONMENT): Revert last change. | 
| | |  | 
| | 
| 
| 
| 
| 
| | * autogen.sh: Invoke automake with `-a' (add missing files).
	Do not invoke configure. | 
| | 
| 
| 
| 
| 
| | * Makefile.am (TEST_ENVIRONMENT): Set environment to $(srcdir),
	not current directory. | 
| | 
| 
| 
| 
| 
| | * t-data.c (write_test): New function.
	(main): Invoke write_test for all rounds except TEST_OUT_CB. | 
| | 
| 
| 
| 
| 
| | * data.c (_gpgme_data_append): Check if LENGTH is smaller than
	ALLOC_CHUNK, not DH->length. | 
| | 
| 
| 
| 
| 
| | * Makefile.am (INCLUDES): Remove spurious duplicate to silence
	automake. | 
| | |  | 
| | 
| 
| 
| 
| 
| 
| 
| 
| | * t-version.c: New file.
	* t-data.c: Likewise.
	* t-data-1.txt: Likewise.
	* t-data-2.txt: Likewise.
	* Makefile.am (TESTS): Add t-version, t-data. | 
| | 
| 
| 
| 
| | * gpgme.c (gpgme_set_protocol): Fix last change. | 
| | |  | 
| | |  | 
| | |  | 
| | |  | 
| | |  | 
| | |  | 
| | |  | 
| | |  | 
| | |  | 
| | |  | 
| | |  | 
| | |  | 
| | |  | 
| | 
| 
| 
| 
| | Removed system specific files becuase they are now part of Mingw32/CPD | 
| | |  | 
| | |  | 
| | |  | 
| | |  | 
| | |  | 
| | |  | 
| | |  | 
| | |  | 
| | |  | 
| | |  | 
| | |  | 
| | |  | 
| | 
| 
| 
| 
| | The W32 version does not compile at the meoment. | 
| | |  | 
| | |  | 
| | |  | 
| | |  |