From 6956f33f4b594804b48511229971fae3421c9642 Mon Sep 17 00:00:00 2001 From: defanor Date: Wed, 10 Mar 2021 02:30:15 +0300 Subject: Allow to choose which OpenPGP keys to use for signing --- emacs/xml_interface.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'emacs') diff --git a/emacs/xml_interface.c b/emacs/xml_interface.c index 36b1742..2541281 100644 --- a/emacs/xml_interface.c +++ b/emacs/xml_interface.c @@ -131,7 +131,8 @@ void req_process (rexmpp_t *s, } } recipients[recipients_num] = NULL; - char *payload_str = rexmpp_openpgp_payload(s, xmlCopyNode(payload_xml, 1), recipients, mode); + char *payload_str = + rexmpp_openpgp_payload(s, xmlCopyNode(payload_xml, 1), recipients, NULL, mode); for (recipients_num = 0; recipients[recipients_num] != NULL; recipients_num++) { free(recipients[recipients_num]); } -- cgit v1.2.3