gnutls-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SCM] GNU gnutls branch, master, updated. gnutls_2_9_10-22-g15090a5


From: Simon Josefsson
Subject: [SCM] GNU gnutls branch, master, updated. gnutls_2_9_10-22-g15090a5
Date: Mon, 03 May 2010 13:38:52 +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=15090a5f52a5f5ccbbb23ea2ddc18ff829a25a32

The branch, master has been updated
       via  15090a5f52a5f5ccbbb23ea2ddc18ff829a25a32 (commit)
      from  22553a5d48bcf01b396f6b6ce63f728f5059e9a8 (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 15090a5f52a5f5ccbbb23ea2ddc18ff829a25a32
Author: Simon Josefsson <address@hidden>
Date:   Mon May 3 15:38:46 2010 +0200

    Also test gnutls_safe_renegotiation_status API.

-----------------------------------------------------------------------

Summary of changes:
 tests/safe-renegotiation/srn1.c |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/tests/safe-renegotiation/srn1.c b/tests/safe-renegotiation/srn1.c
index 013ae9b..7e660b9 100644
--- a/tests/safe-renegotiation/srn1.c
+++ b/tests/safe-renegotiation/srn1.c
@@ -197,6 +197,14 @@ main (int argc, char *argv[])
   gnutls_transport_set_push_function (client, client_push);
   gnutls_transport_set_pull_function (client, client_pull);
 
+  /* Check that initially no session use the extension. */
+  if (gnutls_safe_renegotiation_status (server)
+      || gnutls_safe_renegotiation_status (client))
+    {
+      puts ("Client or server using extension before handshake?");
+      abort ();
+    }
+
   do
     {
       static int max_iter = 0;


hooks/post-receive
-- 
GNU gnutls




reply via email to

[Prev in Thread] Current Thread [Next in Thread]