summaryrefslogtreecommitdiff
path: root/lib/gnutls_int.h
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2014-06-09 16:03:29 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2014-06-09 16:09:04 +0200
commitb5567ceb0dc8942694d46046e5744e305e32c9ef (patch)
tree4f0ca684a25f9fab4447dc0c6b0068f615ef570a /lib/gnutls_int.h
parent9e6a23157d77ae28e693e805ac042921ba047b08 (diff)
downloadgnutls-b5567ceb0dc8942694d46046e5744e305e32c9ef.tar.gz
handshake: Allow the post client hello callback to put the handshake on hold
That is, when the callback returns GNUTLS_E_AGAIN or GNUTLS_E_INTERRUPTED the handshake will return GNUTLS_E_INTERRUPTED, and can be resumed when needed.
Diffstat (limited to 'lib/gnutls_int.h')
-rw-r--r--lib/gnutls_int.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/gnutls_int.h b/lib/gnutls_int.h
index 490ccbe907..58ffdf1533 100644
--- a/lib/gnutls_int.h
+++ b/lib/gnutls_int.h
@@ -245,10 +245,10 @@ typedef struct {
typedef enum handshake_state_t { STATE0 = 0, STATE1, STATE2,
STATE3, STATE4, STATE5, STATE6, STATE7, STATE8,
STATE9, STATE10, STATE11, STATE12, STATE13, STATE14,
- STATE15, STATE16, STATE17,
+ STATE15, STATE16, STATE17, STATE18,
STATE20 = 20, STATE21, STATE22,
STATE30 = 30, STATE31, STATE40 = 40, STATE41, STATE50 = 50,
- STATE60 = 60, STATE61, STATE62, STATE70, STATE71
+ STATE60 = 60, STATE61, STATE62,
} handshake_state_t;
typedef enum heartbeat_state_t {