diff options
author | Ingela Anderton Andin <[email protected]> | 2017-01-17 10:11:13 +0100 |
---|---|---|
committer | Ingela Anderton Andin <[email protected]> | 2017-01-17 10:11:13 +0100 |
commit | a44947369f44cb334ca45dbecca2e3f878af8229 (patch) | |
tree | e73bf8261bf9630b7070770b418c5947b2efaeac /lib/ssl/src/ssl_handshake.hrl | |
parent | 228e34eb3eb75dd0cac1c7137861ee4a7b5b3f69 (diff) | |
parent | 1364c7308e17d43d1a2244e3f2bf11cfec3789ef (diff) | |
download | otp-a44947369f44cb334ca45dbecca2e3f878af8229.tar.gz otp-a44947369f44cb334ca45dbecca2e3f878af8229.tar.bz2 otp-a44947369f44cb334ca45dbecca2e3f878af8229.zip |
Merge branch 'ingela/ssl/hs-stream/OTP-14138' into maint
* ingela/ssl/hs-stream/OTP-14138:
ssl: Handle really big handshake packages
Diffstat (limited to 'lib/ssl/src/ssl_handshake.hrl')
-rw-r--r-- | lib/ssl/src/ssl_handshake.hrl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/ssl/src/ssl_handshake.hrl b/lib/ssl/src/ssl_handshake.hrl index fde92035a2..324b7dbde3 100644 --- a/lib/ssl/src/ssl_handshake.hrl +++ b/lib/ssl/src/ssl_handshake.hrl @@ -80,6 +80,9 @@ -define(CLIENT_KEY_EXCHANGE, 16). -define(FINISHED, 20). +-define(MAX_UNIT24, 8388607). +-define(DEFAULT_MAX_HANDSHAKE_SIZE, (256*1024)). + -record(random, { gmt_unix_time, % uint32 random_bytes % opaque random_bytes[28] |