Mercurial > hg
changeset 1053:1ec7ec9bda60
Cleanup/cosmetics
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Mon, 27 Nov 2006 20:55:33 +0100 |
parents | c8a8edd5c50d |
children | 082d55152a25 |
files | mcabber/src/jabglue.c mcabber/src/main.c |
diffstat | 2 files changed, 2 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/mcabber/src/jabglue.c Mon Nov 27 20:08:32 2006 +0100 +++ b/mcabber/src/jabglue.c Mon Nov 27 20:55:33 2006 +0100 @@ -1487,7 +1487,6 @@ char *jid; const char *rname, *s; char *decrypted = NULL; - /* bool sigchecked = FALSE; */ jid = jidtodisp(from); @@ -1499,16 +1498,10 @@ decrypted = gpg_decrypt(enc); if (decrypted) { body = decrypted; - /* - if (xmldata_signed) { - check_signature(jid, rname, xmldata_signed, decrypted); - sigchecked = TRUE; - } - */ } } // Check signature of an unencrypted message - if (xmldata_signed /* && !sigchecked */ && gpg_enabled()) + if (xmldata_signed && gpg_enabled()) check_signature(jid, rname, xmldata_signed, decrypted); #endif