diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2001-10-23 15:45:10 +0000 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2001-10-23 15:45:10 +0000 |
commit | ac7ba69ba68a7ceec7c44f8e2d069facc546e0e8 (patch) | |
tree | 4df3cd5f0e7a4716656b0aa8c7118656be987129 /lib/gnutls_handshake.h | |
parent | eae8310b6473699ddec247777f4833322689778b (diff) | |
download | gnutls-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.h | 2 |
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); |