loading fails.
Fixed help and script installation paths with SILC Client.
+Sat Jun 2 00:51:57 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
+
+ * If public key/private key loading fails set the return
+ pointer to NULL. Affected file is lib/silccrypt/silcpkcs.c.
+
+ * If private key loading fails in silc_load_key_pair free the
+ loaded public key. Affected file is
+ lib/silcapputil/silcapputil.c.
+
+ * Fixed key pair loading crash with SILC Plugin if key pair
+ loading fails. Affected file is
+ apps/irssi/src/silc/core/silc-core.c.
+
+ * Fixed SILC Client help and script file installation path
+ to go to prefix/share/silc. Affected files are
+ apps/irssi/src/scripts/Makefile.am and
+ apps/irssi/docs/help/Makefile.am.gen.
+
Thu May 31 16:49:13 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
* Fixed UTC offset minutes to be actually minutes. Affected
SILCHELP = silc
ED =
else
-helpdir = $(datadir)/irssi/help
-SILCHELP =
+helpdir = $(datadir)/silc/help
+SILCHELP =
ED = silc
endif
SUBDIRS = examples
+if SILCPLUGIN
scriptdir = $(datadir)/irssi/scripts
+else
+scriptdir = $(datadir)/silc/scripts
+endif
script_DATA = \
autoop.pl \
+
+if SILCPLUGIN
scriptdir = $(datadir)/irssi/scripts
+else
+scriptdir = $(datadir)/silc/scripts
+endif
script_DATA = \
command.pl \
SBDRS=lib-popt lib-config core
endif
-pkginc_srcdir=$(pkgincludedir)/src
-pkginc_src_HEADERS = \
- common.h
noinst_HEADERS = \
common.h
int i=0;
items = g_strsplit(list, ",", -1);
-
+
while (items[i] != NULL)
printformat_module("fe-common/silc", NULL, NULL,
MSGLEVEL_CRAP, SILCTXT_CONFIG_LIST,
ENTRY_REDIRECT_FLAG_HIDDEN, rec);
return;
}
-
+
if ((rec->passphrase == NULL) && (answer) && (*answer != '\0')) {
rec->passphrase = g_strdup(answer);
keyboard_entry_redirect((SIGNAL_FUNC) change_private_key_passphrase,
}
if (silc_change_private_key_passphrase(rec->file, rec->old,
- (rec->passphrase == NULL ?
+ (rec->passphrase == NULL ?
"" : rec->passphrase)) == TRUE)
printformat_module("fe-common/silc", NULL, NULL,
MSGLEVEL_CRAP, SILCTXT_CONFIG_PASSCHANGE);
chat_protocol_unregister("SILC");
- silc_pkcs_public_key_free(irssi_pubkey);
- silc_pkcs_private_key_free(irssi_privkey);
+ if (irssi_pubkey)
+ silc_pkcs_public_key_free(irssi_pubkey);
+ if (irssi_privkey)
+ silc_pkcs_private_key_free(irssi_privkey);
silc_client_free(silc_client);
}