[gnutls-devel] [sr #108690] gnutls 3.1.27 breaks use of GNUTLS_E_GOT_APPLICATION_DATA

anonymous INVALID.NOREPLY at gnu.org
Fri Nov 21 16:48:33 CET 2014


URL:
  <http://savannah.gnu.org/support/?108690>

                 Summary: gnutls 3.1.27 breaks use of
GNUTLS_E_GOT_APPLICATION_DATA
                 Project: GnuTLS
            Submitted by: None
            Submitted on: Fri 21 Nov 2014 03:48:32 PM UTC
                Category: Core library
                Priority: 5 - Normal
                Severity: 3 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: danw at gnome.org
             Open/Closed: Open
         Discussion Lock: Any
        Operating System: None

    _______________________________________________________

Details:

In 3.1.27, it appears to no longer be possible to process application data
packets received when a rehandshake was expected.

The attached programs splits itself into a client and server. The server
requests a rehandshake immediately after the first handshake, but tries to
handle application data packets received before the rehandshake begins. The
client writes data immediately after the first handshake, and only processes
the rehandshake request after that.

With 3.1.26, I get:

  danw at laptop:Desktop> ./rehandshake-test
  GNUTLS_E_GOT_APPLICATION_DATA:
  hello
  server rehandshaked

but with 3.1.27 or 3.1.28:

  danw at laptop:Desktop> ./rehandshake-test
  GNUTLS_E_GOT_APPLICATION_DATA:
  server read app data: GnuTLS error: The specified session has been
invalidated for some reason.





    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Fri 21 Nov 2014 03:48:32 PM UTC  Name: rehandshake-test.c  Size: 8kB  
By: None

<http://savannah.gnu.org/support/download.php?file_id=32517>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/support/?108690>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




More information about the Gnutls-devel mailing list