aboutsummaryrefslogtreecommitdiff
path: root/common.h
diff options
context:
space:
mode:
authorDavid Sommerseth <dazo@users.sourceforge.net>2010-06-04 23:17:20 +0200
committerDavid Sommerseth <dazo@users.sourceforge.net>2010-06-04 23:17:20 +0200
commit91f69a319d389f45a927b3d003efacc648a5dbc2 (patch)
tree9d6547db0967d94550058a811386793c1aceb700 /common.h
parentMerge remote branch 'origin/master' (diff)
parentImplemented a key/value auth channel from client to server. (diff)
downloadopenvpn-91f69a319d389f45a927b3d003efacc648a5dbc2.tar.xz
Merge branch 'svn-BETA21'
Diffstat (limited to 'common.h')
-rw-r--r--common.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/common.h b/common.h
index b1f5818..5548f7c 100644
--- a/common.h
+++ b/common.h
@@ -76,8 +76,15 @@ typedef unsigned long ptr_type;
/*
* This parameter controls the TLS channel buffer size and the
* maximum size of a single TLS message (cleartext).
+ * This parameter must be >= PUSH_BUNDLE_SIZE
*/
-#define TLS_CHANNEL_BUF_SIZE 1024
+#define TLS_CHANNEL_BUF_SIZE 2048
+
+/*
+ * This parameter controls the maximum size of a bundle
+ * of pushed options.
+ */
+#define PUSH_BUNDLE_SIZE 1024
/*
* A sort of pseudo-filename for data provided inline within