From 3464b5361b0d36180cb72996e30b2bfc754b28d4 Mon Sep 17 00:00:00 2001 From: Pekka Riikonen Date: Wed, 5 Jul 2000 06:03:45 +0000 Subject: [PATCH] updates --- CHANGES | 20 ++++++++++++++++++++ TODO | 10 ---------- doc/CodingStyle | 3 +++ 3 files changed, 23 insertions(+), 10 deletions(-) diff --git a/CHANGES b/CHANGES index d20c7abd..27de725c 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,23 @@ +Tue Jul 4 18:26:39 EEST 2000 Pekka Riikonen + + * Added ~./silc directory handling. The directory includes the + public and private keys for the client. + + Added silc_client_check_silc_dir, silc_client_create_identifier + and silc_client_load_keys. + + * Implemented SILC protocol compliant public key. Added public + and private key saving to and loading from files. + + Added into silcpkcs.[ch]: silc_pkcs_encode_identifier, + silc_pkcs_public_key_encode[_data], silc_pkcs_public_key_decode, + silc_pkcs_private_key_encode[_data], silc_pkcs_private_key_decode, + silc_pkcs_public_key_alloc, silc_pkcs_public_key_free, + silc_pkcs_private_key_alloc and silc_pkcs_private_key_free. + + Implemented: silc_pkcs_save_[public/private]_key[_data] and + silc_pkcs_load_[public/private]_key. + Mon Jul 3 18:51:27 EEST 2000 Pekka Riikonen * Added silc_server_get_route (route.[ch]) to get connection diff --git a/TODO b/TODO index d60eeed4..ed1a4890 100644 --- a/TODO +++ b/TODO @@ -125,8 +125,6 @@ TODO In SILC Client be selected. I'm open for ideas. o All allocations and freeing needs to be checked for memory leaks. - Also, return values from various allocations and functions needs to - checked. TODO In SILC Server @@ -202,8 +200,6 @@ TODO In SILC Server to gather some statistics. o All allocations and freeing needs to be checked for memory leaks. - Also, return values from various allocations and functions needs to - checked. TODO In SILC Libraries @@ -295,12 +291,6 @@ TODO In SILC Libraries o All allocations and freeing needs to be checked for memory leaks. - o There are also checks missing from allocations whether the allocation - returns valid memory or NULL. These are missing in library as well - in client and server. Either all checks has to be added or we will - have to make sure that silc_*alloc()s always return valid memory - and assert()s if the system's memory allocator (*alloc()) fails. - o silc_buffer_[un]format() needs to be made more stable as it may crash the SILC if malformed data is sent as argument. There are a lot of places in client and server where we trust directly data coming diff --git a/doc/CodingStyle b/doc/CodingStyle index cf4e865a..6d732bab 100644 --- a/doc/CodingStyle +++ b/doc/CodingStyle @@ -427,6 +427,9 @@ should be set to NULL if appropriate, ptr = NULL. Note that some functions in the SILC library handles the zeroing of the memory area automatically, like for example, silc_buffer_free. +Also note that all allocation routines assert()'s if the memory allocation +fails, ie. system does not have free memory. + Callback Programming ==================== -- 2.24.0