projects
/
runtime.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
83f61e3
)
Take public key type from correct public key.
author
Pekka Riikonen
<priikone@silcnet.org>
Sun, 6 May 2007 11:28:25 +0000
(11:28 +0000)
committer
Pekka Riikonen
<priikone@silcnet.org>
Sun, 6 May 2007 11:28:25 +0000
(11:28 +0000)
apps/irssi/src/silc/core/silc-queries.c
patch
|
blob
|
history
diff --git
a/apps/irssi/src/silc/core/silc-queries.c
b/apps/irssi/src/silc/core/silc-queries.c
index c81ae8626cbac5a25c4144e1835da23f3b37f5ec..1e7f75132230b18e746d7825f4ed9b32c89f8883 100644
(file)
--- a/
apps/irssi/src/silc/core/silc-queries.c
+++ b/
apps/irssi/src/silc/core/silc-queries.c
@@
-874,13
+874,13
@@
void silc_query_attributes_print(SILC_SERVER_REC *server,
unsigned char *verifyd;
SilcUInt32 verify_len;
unsigned char *verifyd;
SilcUInt32 verify_len;
- if (!strcmp(
verify->us
erpk.type, "silc-rsa"))
+ if (!strcmp(
serv
erpk.type, "silc-rsa"))
type = SILC_PKCS_SILC;
type = SILC_PKCS_SILC;
- else if (!strcmp(
verify->us
erpk.type, "ssh-rsa"))
+ else if (!strcmp(
serv
erpk.type, "ssh-rsa"))
type = SILC_PKCS_SSH2;
type = SILC_PKCS_SSH2;
- else if (!strcmp(
verify->us
erpk.type, "x509v3-sign-rsa"))
+ else if (!strcmp(
serv
erpk.type, "x509v3-sign-rsa"))
type = SILC_PKCS_X509V3;
type = SILC_PKCS_X509V3;
- else if (!strcmp(
verify->us
erpk.type, "pgp-sign-rsa"))
+ else if (!strcmp(
serv
erpk.type, "pgp-sign-rsa"))
type = SILC_PKCS_OPENPGP;
if (silc_pkcs_public_key_alloc(type, serverpk.data,
type = SILC_PKCS_OPENPGP;
if (silc_pkcs_public_key_alloc(type, serverpk.data,