diff options
Diffstat (limited to 'src/rexmpp_console.c')
-rw-r--r-- | src/rexmpp_console.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rexmpp_console.c b/src/rexmpp_console.c index ecc1338..5476f0b 100644 --- a/src/rexmpp_console.c +++ b/src/rexmpp_console.c @@ -338,11 +338,11 @@ void rexmpp_console_feed (rexmpp_t *s, char *str, ssize_t str_len) { rcpt[1] = NULL; char *b64 = NULL; if (strcmp(word, "signcrypt") == 0) { - b64 = rexmpp_openpgp_payload(s, body, rcpt, REXMPP_OX_SIGNCRYPT); + b64 = rexmpp_openpgp_payload(s, body, rcpt, NULL, REXMPP_OX_SIGNCRYPT); } else if (strcmp(word, "sign") == 0) { - b64 = rexmpp_openpgp_payload(s, body, rcpt, REXMPP_OX_SIGN); + b64 = rexmpp_openpgp_payload(s, body, rcpt, NULL, REXMPP_OX_SIGN); } else if (strcmp(word, "crypt") == 0) { - b64 = rexmpp_openpgp_payload(s, body, rcpt, REXMPP_OX_CRYPT); + b64 = rexmpp_openpgp_payload(s, body, rcpt, NULL, REXMPP_OX_CRYPT); } xmlNodePtr openpgp = xmlNewNode(NULL, "openpgp"); openpgp->ns = xmlNewNs(openpgp, "urn:xmpp:openpgp:0", NULL); |