summaryrefslogtreecommitdiffstats
path: root/ssl/ssl3.h
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2015-07-27 12:04:47 +0100
committerMatt Caswell <matt@openssl.org>2015-07-27 16:14:02 +0100
commit8e75dcf58705dbf29f37bfa9725ef6cde49c0c8a (patch)
tree72926871fe858f426e94da035ea5d117b2900ee5 /ssl/ssl3.h
parent396a2dc07177a14284dba194cb6dfda4f3785681 (diff)
Add test for SSL_set_session_ticket_ext
The function SSL_set_session_ticket_ext sets the ticket data to be sent in the ClientHello. This is useful for EAP-FAST. This commit adds a test to ensure that when this function is called the expected ticket data actually appears in the ClientHello. Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
Diffstat (limited to 'ssl/ssl3.h')
-rw-r--r--ssl/ssl3.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ssl/ssl3.h b/ssl/ssl3.h
index 2dd5462658..e9b1170d7b 100644
--- a/ssl/ssl3.h
+++ b/ssl/ssl3.h
@@ -263,6 +263,8 @@ extern "C" {
# define SSL3_SESSION_ID_SIZE 32
# define SSL3_RT_HEADER_LENGTH 5
+# define SSL3_HM_HEADER_LENGTH 4
+
# ifndef SSL3_ALIGN_PAYLOAD
/*
* Some will argue that this increases memory footprint, but it's not