summaryrefslogtreecommitdiff
path: root/lib/gnutls_int.h
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2014-10-02 11:08:15 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2014-10-02 15:14:51 +0200
commitecbd2022209702063022eb4b5f79b25b8a38ca07 (patch)
treec569bb0dbcf9af7b87cfb438e0f73e9ea1981722 /lib/gnutls_int.h
parent6137d5924d3b8909992d8f3edfb1d5800cf1336f (diff)
downloadgnutls-ecbd2022209702063022eb4b5f79b25b8a38ca07.tar.gz
the handshake function has a timeout value by default
Diffstat (limited to 'lib/gnutls_int.h')
-rw-r--r--lib/gnutls_int.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/gnutls_int.h b/lib/gnutls_int.h
index deca5fe772..106cd73b25 100644
--- a/lib/gnutls_int.h
+++ b/lib/gnutls_int.h
@@ -167,6 +167,7 @@ typedef enum {
/* expire time for resuming sessions */
#define DEFAULT_EXPIRE_TIME 3600
+#define DEFAULT_HANDSHAKE_TIMEOUT_MS 40*1000
typedef enum transport_t {
GNUTLS_STREAM,