[SCM] GNU gnutls branch, master, updated. gnutls_3_0_10-5-g92c407a

"Nikos Mavrogiannopoulos" <[email protected]>
Newsgroups gmane.comp.encryption.gpg.gnutls.cvs
Message-ID <[email protected]>
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=92c407a6981318948e68f731d3201c51fb35d013

The branch, master has been updated
       via  92c407a6981318948e68f731d3201c51fb35d013 (commit)
      from  35e26ca63c6da01db460d93e9c4bf86cd668534c (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 92c407a6981318948e68f731d3201c51fb35d013
Author: Nikos Mavrogiannopoulos <[email protected]>
Date:   Fri Jan 6 20:07:55 2012 +0100

    Corrected functionality of gnutls_record_get_direction(). Reported by Philip Allison.

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

Summary of changes:
 lib/gnutls_buffers.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/lib/gnutls_buffers.c b/lib/gnutls_buffers.c
index b93d4c4..db91066 100644
--- a/lib/gnutls_buffers.c
+++ b/lib/gnutls_buffers.c
@@ -510,6 +510,10 @@ _gnutls_io_write_buffered (gnutls_session_t session,
 {
   mbuffer_head_st *const send_buffer = &session->internals.record_send_buffer;
 
+  /* to know where the procedure was interrupted.
+   */
+  session->internals.direction = 1;
+
   _mbuffer_enqueue (send_buffer, bufel);
 
   _gnutls_write_log


hooks/post-receive
-- 
GNU gnutls
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.