summaryrefslogtreecommitdiff
path: root/lib/handshake.h
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2018-07-02 09:56:35 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2018-07-12 11:57:02 +0200
commitdf738136a71b545c61e639edee7bad4f68271bcc (patch)
tree70faf951e14ba13755755c2ae7c0f51650fd1997 /lib/handshake.h
parente9ca732cd9d6e98131bff4b6cebcbf3885dacba0 (diff)
downloadgnutls-tmp-fix-multi-async-msg.tar.gz
_gnutls13_recv_async_handshake: process multiple and split handshake messagestmp-fix-multi-async-msg
It is permitted to concatenate multiple async handshake messages in a single record message as well as split large messages (NST) into multiple records. Modified _gnutls13_recv_async_handshake() to process them correctly, instead of assuming that they are formatted as one message per record. Resolves #510 Resolves #504 Relates #511 Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Diffstat (limited to 'lib/handshake.h')
-rw-r--r--lib/handshake.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/handshake.h b/lib/handshake.h
index 390f5034f9..248d6a1896 100644
--- a/lib/handshake.h
+++ b/lib/handshake.h
@@ -164,6 +164,6 @@ _gnutls13_recv_hello_retry_request(gnutls_session_t session,
gnutls_buffer_st *buf);
int
-_gnutls13_recv_async_handshake(gnutls_session_t session, gnutls_buffer_st *buf);
+_gnutls13_recv_async_handshake(gnutls_session_t session);
#endif