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_9-149-g13f93af


From: Nikos Mavrogiannopoulos
Subject: [SCM] GNU gnutls branch, master, updated. gnutls_2_9_9-149-g13f93af
Date: Sat, 27 Feb 2010 16:35:02 +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=13f93af11eadace67074e4133493fd5f3e302b47

The branch, master has been updated
       via  13f93af11eadace67074e4133493fd5f3e302b47 (commit)
      from  d968575260cb3336f855ae4b4d5fe3c6e28d5821 (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 13f93af11eadace67074e4133493fd5f3e302b47
Author: Nikos Mavrogiannopoulos <address@hidden>
Date:   Fri Feb 26 19:04:26 2010 +0100

    On handshake error send appropriate alert and terminate stream.

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

Summary of changes:
 src/cli.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/src/cli.c b/src/cli.c
index f6cb99f..55888af 100644
--- a/src/cli.c
+++ b/src/cli.c
@@ -1035,6 +1035,11 @@ do_handshake (socket_st * socket)
       socket->secure = 1;
 
     }
+  else
+    {
+      gnutls_alert_send_appropriate(socket->session, ret);
+      shutdown (socket->fd, SHUT_RDWR);
+    }
   return ret;
 }
 


hooks/post-receive
-- 
GNU gnutls




reply via email to

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