diff options
author | Matt Caswell <matt@openssl.org> | 2016-06-21 16:33:52 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2016-06-27 14:51:03 +0100 |
commit | c3fd55d4a6ed1025c471603b67fbbbce606a5171 (patch) | |
tree | 638c645bc73a32bdaacbc7cf4e1d367d131ebad6 /util | |
parent | 63916e9a234c1e6bbf82cc21b7d2e39cdecb30d0 (diff) | |
download | openssl-c3fd55d4a6ed1025c471603b67fbbbce606a5171.tar.gz |
Add a test for fragmented alerts
The previous commit fixed a problem where fragmented alerts would cause an
infinite loop. This commit adds a test for these fragmented alerts.
Reviewed-by: Andy Polyakov <appro@openssl.org>
Diffstat (limited to 'util')
-rw-r--r-- | util/TLSProxy/Message.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/util/TLSProxy/Message.pm b/util/TLSProxy/Message.pm index 85d5d6bcd4..b8db22fb85 100644 --- a/util/TLSProxy/Message.pm +++ b/util/TLSProxy/Message.pm @@ -36,7 +36,8 @@ use constant { #Alert descriptions use constant { - AL_DESC_CLOSE_NOTIFY => 0 + AL_DESC_CLOSE_NOTIFY => 0, + AL_DESC_UNEXPECTED_MESSAGE => 10 }; my %message_type = ( |