summaryrefslogtreecommitdiff
path: root/lib/gnutls_handshake.h
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2001-10-23 15:45:10 +0000
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2001-10-23 15:45:10 +0000
commitac7ba69ba68a7ceec7c44f8e2d069facc546e0e8 (patch)
tree4df3cd5f0e7a4716656b0aa8c7118656be987129 /lib/gnutls_handshake.h
parenteae8310b6473699ddec247777f4833322689778b (diff)
downloadgnutls-ac7ba69ba68a7ceec7c44f8e2d069facc546e0e8.tar.gz
added some checks for memory allocation.
Fixes in write interrupts.
Diffstat (limited to 'lib/gnutls_handshake.h')
-rw-r--r--lib/gnutls_handshake.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gnutls_handshake.h b/lib/gnutls_handshake.h
index d59889495e..c1498de5cf 100644
--- a/lib/gnutls_handshake.h
+++ b/lib/gnutls_handshake.h
@@ -23,7 +23,7 @@ typedef enum Optional { OPTIONAL_PACKET, MANDATORY_PACKET } Optional;
int _gnutls_send_handshake(int cd, GNUTLS_STATE state, void* i_data, uint32 i_datasize, HandshakeType type);
int gnutls_send_hello_request(int cd, GNUTLS_STATE state);
int _gnutls_recv_hello_request(int cd, GNUTLS_STATE state, void* data, uint32 data_size);
-int _gnutls_send_hello(int cd, GNUTLS_STATE state);
+int _gnutls_send_hello(int cd, GNUTLS_STATE state, int again);
int _gnutls_recv_hello(int cd, GNUTLS_STATE state, char* data, int datalen);
int gnutls_handshake(int cd, GNUTLS_STATE state);
int _gnutls_recv_handshake( int cd, GNUTLS_STATE state, uint8**, int*, HandshakeType, Optional optional);