updates
authorPekka Riikonen <priikone@silcnet.org>
Wed, 5 Jul 2000 06:03:45 +0000 (06:03 +0000)
committerPekka Riikonen <priikone@silcnet.org>
Wed, 5 Jul 2000 06:03:45 +0000 (06:03 +0000)
CHANGES
TODO
doc/CodingStyle

diff --git a/CHANGES b/CHANGES
index d20c7abdbca3f2a551ff645e18084c6f65a62bf3..27de725c3dea42984ceb72780cffad2621aba984 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,23 @@
+Tue Jul  4 18:26:39 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
+
+       * 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 <priikone@poseidon.pspt.fi>
 
        * Added silc_server_get_route (route.[ch]) to get connection
diff --git a/TODO b/TODO
index d60eeed476971a531dc5d140acbffe8660ca8ef7..ed1a48904cc7ae01db7a92c1fd178a8016e19b06 100644 (file)
--- 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
index cf4e865a99ef081e1048f5af0a907467353083b7..6d732baba530c0b9aa598b5b28a5337dcba07e17 100644 (file)
@@ -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
 ====================