summaryrefslogtreecommitdiff
path: root/lib/ssl/sslsock.c
diff options
context:
space:
mode:
authorEKR <ekr@rtfm.com>2016-12-10 07:32:45 -1000
committerEKR <ekr@rtfm.com>2016-12-10 07:32:45 -1000
commita5c5d80013da570c11bd10cee5fc8fb91daca8b1 (patch)
tree826309e330e45d029eb132a17e7377846d1b1660 /lib/ssl/sslsock.c
parent62cd980f1cb18444fd61624d0b100bf78efae96a (diff)
downloadnss-hg-a5c5d80013da570c11bd10cee5fc8fb91daca8b1.tar.gz
Bug 1323104 - TLS 1.3 experimental short headers. r=mt
Reviewers: mt Differential Revision: https://nss-review.dev.mozaws.net/D122
Diffstat (limited to 'lib/ssl/sslsock.c')
-rw-r--r--lib/ssl/sslsock.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/ssl/sslsock.c b/lib/ssl/sslsock.c
index 8f7a792f4..626f4a92a 100644
--- a/lib/ssl/sslsock.c
+++ b/lib/ssl/sslsock.c
@@ -78,7 +78,12 @@ static sslOptions ssl_defaults = {
PR_FALSE, /* enableExtendedMS */
PR_FALSE, /* enableSignedCertTimestamps */
PR_FALSE, /* requireDHENamedGroups */
- PR_FALSE /* enable0RttData */
+ PR_FALSE, /* enable0RttData */
+#ifdef NSS_ENABLE_TLS13_SHORT_HEADERS
+ PR_TRUE /* enableShortHeaders */
+#else
+ PR_FALSE /* enableShortHeaders */
+#endif
};
/*