diff options
author | Martin Thomson <martin.thomson@gmail.com> | 2017-11-24 16:40:22 +1100 |
---|---|---|
committer | Martin Thomson <martin.thomson@gmail.com> | 2017-11-24 16:40:22 +1100 |
commit | 1ee76b91c89ce6e6166d3631e07d23e836e9dc26 (patch) | |
tree | 63c5bfefa0dd0d135f5841cac890b5002907ba52 /lib/ssl/sslspec.h | |
parent | cea9c7ec22e0483a4d5d03245cd03f443aeb752b (diff) | |
download | nss-hg-1ee76b91c89ce6e6166d3631e07d23e836e9dc26.tar.gz |
Bug 1396487 - Record size limiting extension, r=ekr
Summary: See draft-ietf-tls-record-limit for details.
Reviewers: ekr
Bug #: 1396487
Differential Revision: https://phabricator.services.mozilla.com/D23
Diffstat (limited to 'lib/ssl/sslspec.h')
-rw-r--r-- | lib/ssl/sslspec.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/ssl/sslspec.h b/lib/ssl/sslspec.h index 207bd6ef6..b25601755 100644 --- a/lib/ssl/sslspec.h +++ b/lib/ssl/sslspec.h @@ -170,6 +170,10 @@ struct ssl3CipherSpecStr { /* The number of 0-RTT bytes that can be sent or received in TLS 1.3. This * will be zero for everything but 0-RTT. */ PRUint32 earlyDataRemaining; + /* The maximum plaintext length. This differs from the configured or + * negotiated value for TLS 1.3; it is reduced by one to account for the + * content type octet. */ + PRUint16 recordSizeLimit; }; typedef void (*sslCipherSpecChangedFunc)(void *arg, |