projects
/
silc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
1ea34b3
)
silc-client: don't show GETKEY public key verification twice
author
Pekka Riikonen
<priikone@silcnet.org>
Sat, 10 May 2014 11:56:44 +0000
(14:56 +0300)
committer
Pekka Riikonen
<priikone@silcnet.org>
Sat, 10 May 2014 11:56:44 +0000
(14:56 +0300)
apps/irssi/src/silc/core/client_ops.c
patch
|
blob
|
history
diff --git
a/apps/irssi/src/silc/core/client_ops.c
b/apps/irssi/src/silc/core/client_ops.c
index af27ee566bbeb742553e1f7c9ed5647a0260c8cd..a87eff9f02c1cbc9ff2d074599f1dfa582a81d45 100644
(file)
--- a/
apps/irssi/src/silc/core/client_ops.c
+++ b/
apps/irssi/src/silc/core/client_ops.c
@@
-1434,15
+1434,8
@@
void silc_getkey_cb(SilcBool success, void *context)
silc_pubkey = silc_pkcs_get_context(SILC_PKCS_SILC, public_key);
if (success) {
silc_pubkey = silc_pkcs_get_context(SILC_PKCS_SILC, public_key);
if (success) {
- if (getkey->id_type == SILC_ID_CLIENT)
- printformat_module("fe-common/silc", NULL, NULL,
- MSGLEVEL_CRAP, SILCTXT_PUBKEY_VERIFIED_CLIENT,
- name,
- silc_pubkey->identifier.realname ?
- silc_pubkey->identifier.realname : "",
- silc_pubkey->identifier.email ?
- silc_pubkey->identifier.email : "");
- else
+ /* Client's verification notice was showed in verify_internal() */
+ if (getkey->id_type != SILC_ID_CLIENT)
printformat_module("fe-common/silc", NULL, NULL,
MSGLEVEL_CRAP, SILCTXT_PUBKEY_VERIFIED,
entity, name);
printformat_module("fe-common/silc", NULL, NULL,
MSGLEVEL_CRAP, SILCTXT_PUBKEY_VERIFIED,
entity, name);