[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[SCM] GNU gnutls branch, master, updated. gnutls_2_99_2-64-g14f3468
From: |
Nikos Mavrogiannopoulos |
Subject: |
[SCM] GNU gnutls branch, master, updated. gnutls_2_99_2-64-g14f3468 |
Date: |
Sun, 05 Jun 2011 02:38:40 +0000 |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU gnutls".
http://git.savannah.gnu.org/cgit/gnutls.git/commit/?id=14f34688075542d4a239ba5f57ae8fb4a2ebe3d8
The branch, master has been updated
via 14f34688075542d4a239ba5f57ae8fb4a2ebe3d8 (commit)
via 2fc0c17e2d57e8001304842fe75a33659c3de105 (commit)
from 13c861eaa7f48a315e2f5b571b125cdf05c81376 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 14f34688075542d4a239ba5f57ae8fb4a2ebe3d8
Author: Nikos Mavrogiannopoulos <address@hidden>
Date: Sun Jun 5 04:38:34 2011 +0200
Added debugging ability to cipher-test.
commit 2fc0c17e2d57e8001304842fe75a33659c3de105
Author: Nikos Mavrogiannopoulos <address@hidden>
Date: Sun Jun 5 04:24:36 2011 +0200
more cleanup.
-----------------------------------------------------------------------
Summary of changes:
doc/TODO | 26 --------------------------
tests/cipher-test.c | 10 ++++++++++
2 files changed, 10 insertions(+), 26 deletions(-)
diff --git a/doc/TODO b/doc/TODO
index 19e5ba0..862c9bf 100644
--- a/doc/TODO
+++ b/doc/TODO
@@ -38,32 +38,6 @@ Current list:
- Exhaustive test suite, using NIST's PKI Test vectors,
see http://csrc.nist.gov/pki/testing/x509paths_old.html
and http://csrc.nist.gov/pki/testing/x509paths.html
-- Clean up certtool. Perhaps separate the different functions into
- separate tools. Probably a rewrite is necessary.
-- Make it possible to extract the internal state of a session, to
- be able to execve a new process that take over the current
- living socket (using the fcntl close-on-exec flag) and
- continue the TLS session as well.
-- Reduce memory footprint
- - Inside gnutls_global_init, the library allocates about 64 kb of
- memory in almost 4000 calls to malloc. On my desktop, there are 22
- processes using gnutls, meaning about 1.2 MB of memory usage from
- this alone.
- - Furthermore, gnutls has 24 kb of relocations in the shared
- library. You can see this on a 2.6.16 kernel by reading
- /proc/PID/smaps and looking for:
-
- b71a5000-b71ab000 rw-p 00062000 03:01 3131118
- /usr/lib/libgnutls.so.12.3.6
- Size: 24 kB
- Rss: 24 kB
- Shared_Clean: 0 kB
- Shared_Dirty: 0 kB
- Private_Clean: 0 kB
- Private_Dirty: 24 kB
-
- This means another 24 kb used by each process that makes use of
- libgnutls.
- Make gnutls-cli-debug exit with better error messages if the
handshake fails, rather than saying that the server doesn't support
TLS.
diff --git a/tests/cipher-test.c b/tests/cipher-test.c
index 000cfde..c14813f 100644
--- a/tests/cipher-test.c
+++ b/tests/cipher-test.c
@@ -455,10 +455,20 @@ test_hash (void)
}
+static void
+tls_log_func (int level, const char *str)
+{
+ fprintf (stderr, "<%d>| %s", level, str);
+}
+
int
main (int argc, char **argv)
{
+ gnutls_global_set_log_function (tls_log_func);
+ if (argc > 1)
+ gnutls_global_set_log_level (4711);
+
gnutls_global_init ();
if (test_aes ())
hooks/post-receive
--
GNU gnutls
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [SCM] GNU gnutls branch, master, updated. gnutls_2_99_2-64-g14f3468,
Nikos Mavrogiannopoulos <=