diff options
author | defanor <defanor@uberspace.net> | 2021-09-22 23:07:18 +0300 |
---|---|---|
committer | defanor <defanor@uberspace.net> | 2021-09-22 23:07:18 +0300 |
commit | b5dd7de9b2a82018e53e512da19dad319edd0afa (patch) | |
tree | 86be9b6da0f5b88aa743250d4fe0dc1060faabc4 /src/rexmpp_openpgp.c | |
parent | 54cd916b857b0067223309466943011c1b2976fc (diff) |
Fix a few GCC warnings
Diffstat (limited to 'src/rexmpp_openpgp.c')
-rw-r--r-- | src/rexmpp_openpgp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rexmpp_openpgp.c b/src/rexmpp_openpgp.c index fd22cf4..84b7537 100644 --- a/src/rexmpp_openpgp.c +++ b/src/rexmpp_openpgp.c @@ -783,7 +783,7 @@ char *rexmpp_openpgp_payload (rexmpp_t *s, } else if (mode == REXMPP_OX_CRYPT) { err = gpgme_op_encrypt(s->pgp_ctx, keys, GPGME_ENCRYPT_NO_ENCRYPT_TO, plain_dh, cipher_dh); - } else if (mode == REXMPP_OX_SIGN) { + } else { /* if (mode == REXMPP_OX_SIGN) */ err = gpgme_op_sign(s->pgp_ctx, plain_dh, cipher_dh, GPGME_SIG_MODE_NORMAL); } if (keys != NULL) { |