]> granicus.if.org Git - mutt/commit
Convert pgp_invoke_list_keys and mix_send_message to use BUFFERs.
authorKevin McCarthy <kevin@8t8.us>
Fri, 28 Sep 2018 22:08:19 +0000 (15:08 -0700)
committerKevin McCarthy <kevin@8t8.us>
Sun, 30 Sep 2018 22:43:55 +0000 (15:43 -0700)
commitf3e0742a07505b0330a8eac166ec33c578fdda0a
tree82a0e1ff8c4fcc90cb6cda9d8c06a19f90ee588a
parenta97543c35bcaa92876de749c6569a52ec9ed23dd
Convert pgp_invoke_list_keys and mix_send_message to use BUFFERs.

Both repetitively perform a lot of copying back in forth, which is
much cleaner with a BUFFER.

Note that in pgp_invoke_list_keys, if there are no hints uids->data
would be NULL.  However, the pgp_invoke() checks and wraps all the
format substitutions with NONULL.
pgpinvoke.c
remailer.c