aboutsummaryrefslogtreecommitdiff
path: root/ssl.h
diff options
context:
space:
mode:
authorjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2005-12-14 01:09:11 +0000
committerjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2005-12-14 01:09:11 +0000
commit92bbb061acc027bbe29a8973422a60eda5bff88e (patch)
tree8e0831c042ebf8eb59992463a499dbe25851a630 /ssl.h
parentDon't warn user if he uses user/group/chroot and (diff)
downloadopenvpn-92bbb061acc027bbe29a8973422a60eda5bff88e.tar.xz
svn merge -r 845:854 $SO/trunk/openvpn .
git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@855 e7ae566f-a301-0410-adde-c780ea21d3b5
Diffstat (limited to 'ssl.h')
-rw-r--r--ssl.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/ssl.h b/ssl.h
index 4acb259..afebb8e 100644
--- a/ssl.h
+++ b/ssl.h
@@ -663,6 +663,13 @@ tls_test_payload_len (const struct tls_multi *multi)
return 0;
}
+static inline void
+tls_set_single_session (struct tls_multi *multi)
+{
+ if (multi)
+ multi->opt.single_session = true;
+}
+
/*
* protocol_dump() flags
*/