Home GnuPG
Diffusion GPGME 13774269c071

2010-06-09 Marcus Brinkmann <marcus@g10code.de>
13774269c071Unpublished

Unpublished Commit ยท Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

2010-06-09 Marcus Brinkmann <marcus@g10code.de>

  • gpgme-tool.c (result_add_timestamp): Add missing NULL argument.

(result_sign_to_xml): Protect against NULL fingerprint.
(struct server): New members input_fd, input_filename,
input_stream output_fd, output_filename, output_stream,
message_filename, message_stream.
(server_reset_fds): Deallocate those.
(server_parse_fd): New function.
(server_data_obj): Take optional filename argument and direction
argument. Also take new argument to return a filestream that
needs to be closed after destroying the data object.
Change all callers, too.
(input_notify, output_notify): Removed.
(cmd_input, cmd_output): New functions.
(gpgme_server): Do not register input and output notifier.
(register_commands): Use cmd_input and cmd_output.
(cmd_message): Rewritten to use server_parse_fd.
(cmd_delete, cmd_keylist): Fix inverted option check.
(main) [HAVE_W32CE_SYSTEM]: Sleep a bit to work around bug in ssh.

Details

Provenance
Marcus Brinkmann <mb@g10code.com>Authored on Jun 9 2010, 3:23 PM
Parents
rM3029f454e32c: 2010-06-09 Marcus Brinkmann <marcus@g10code.de>
Branches
Unknown
Tags
Unknown

Event Timeline

Marcus Brinkmann <mb@g10code.com> committed rM13774269c071: 2010-06-09 Marcus Brinkmann <marcus@g10code.de> (authored by Marcus Brinkmann <mb@g10code.com>).Jun 9 2010, 3:23 PM