diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2016-08-08 16:30:10 +0200 |
---|---|---|
committer | GitLab <gitlab@gitlab.com> | 2016-08-08 15:55:57 +0000 |
commit | 9401d05cddd5b35d1298823bfd5851d4eb033cf7 (patch) | |
tree | 5de8ef02ecac80068fffa1ff260d686ba084eccf /tests/client-fastopen.c | |
parent | 52b485ae7199defa3ecafe9af0f20d4535edf6d8 (diff) | |
download | gnutls-9401d05cddd5b35d1298823bfd5851d4eb033cf7.tar.gz |
gnutls_transport_set_fastopen: added flags optionstcp-fast-open
This will allow minor modifications to the semantics of the function
in the future, without introducing a new API.
Diffstat (limited to 'tests/client-fastopen.c')
-rw-r--r-- | tests/client-fastopen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/client-fastopen.c b/tests/client-fastopen.c index 507d425e13..863f12a19e 100644 --- a/tests/client-fastopen.c +++ b/tests/client-fastopen.c @@ -93,7 +93,7 @@ static void client(int fd, struct sockaddr *connect_addr, socklen_t connect_addr gnutls_credentials_set(session, GNUTLS_CRD_CERTIFICATE, xcred); - gnutls_transport_set_fastopen(session, fd, connect_addr, connect_addrlen); + gnutls_transport_set_fastopen(session, fd, connect_addr, connect_addrlen, 0); /* Perform the TLS handshake */ |