updates.
[runtime.git] / apps / irssi / src / silc / core / clientutil.c
index 93b575fe9a5fdc14a38da05166f101a169c7ce1d..3e3c13c7370c46619d7ed0191de03200493e02c5 100644 (file)
@@ -245,7 +245,7 @@ New pair of keys will be created.  Please, answer to following questions.\n\
 
   /* Generate keys */
   silc_pkcs_alloc(pkcs_name, &pkcs);
-  pkcs->pkcs->init(pkcs->context, bits, rng);
+  silc_pkcs_generate_key(pkcs, bits, rng);
 
   /* Save public key into file */
   key = silc_pkcs_get_public_key(pkcs, &key_len);