projects
/
silc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
b917911
)
Use silc_pkcs_get_name. SilcPKCS cannot be accessed directly.
silc.server.0.9.2
author
Pekka Riikonen
<priikone@silcnet.org>
Sun, 16 Jun 2002 20:22:18 +0000
(20:22 +0000)
committer
Pekka Riikonen
<priikone@silcnet.org>
Sun, 16 Jun 2002 20:22:18 +0000
(20:22 +0000)
apps/irssi/src/silc/core/clientutil.c
patch
|
blob
|
history
diff --git
a/apps/irssi/src/silc/core/clientutil.c
b/apps/irssi/src/silc/core/clientutil.c
index f9699738eeee47aa421b31106fbd9ac007aa3982..e09e514bb378f6b4304257d278f9e3fe73cb29a4 100644
(file)
--- a/
apps/irssi/src/silc/core/clientutil.c
+++ b/
apps/irssi/src/silc/core/clientutil.c
@@
-217,7
+217,7
@@
New pair of keys will be created. Please, answer to following questions.\n\
/* Save public key into file */
key = silc_pkcs_get_public_key(pkcs, &key_len);
/* Save public key into file */
key = silc_pkcs_get_public_key(pkcs, &key_len);
- pub_key = silc_pkcs_public_key_alloc(
pkcs->pkcs->name
, identifier,
+ pub_key = silc_pkcs_public_key_alloc(
silc_pkcs_get_name(pkcs)
, identifier,
key, key_len);
silc_pkcs_save_public_key(pkfile, pub_key, SILC_PKCS_FILE_PEM);
if (ret_pub_key)
key, key_len);
silc_pkcs_save_public_key(pkfile, pub_key, SILC_PKCS_FILE_PEM);
if (ret_pub_key)
@@
-228,8
+228,8
@@
New pair of keys will be created. Please, answer to following questions.\n\
/* Save private key into file */
key = silc_pkcs_get_private_key(pkcs, &key_len);
/* Save private key into file */
key = silc_pkcs_get_private_key(pkcs, &key_len);
- prv_key = silc_pkcs_private_key_alloc(
pkcs->pkcs->name, key, key_len);
-
+ prv_key = silc_pkcs_private_key_alloc(
silc_pkcs_get_name(pkcs),
+ key, key_len);
silc_pkcs_save_private_key(prvfile, prv_key, NULL, SILC_PKCS_FILE_BIN);
if (ret_prv_key)
*ret_prv_key = prv_key;
silc_pkcs_save_private_key(prvfile, prv_key, NULL, SILC_PKCS_FILE_BIN);
if (ret_prv_key)
*ret_prv_key = prv_key;