summaryrefslogtreecommitdiffstats
path: root/util/perl/TLSProxy/Record.pm
diff options
context:
space:
mode:
Diffstat (limited to 'util/perl/TLSProxy/Record.pm')
-rw-r--r--util/perl/TLSProxy/Record.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/util/perl/TLSProxy/Record.pm b/util/perl/TLSProxy/Record.pm
index 9de51b371a..8db50d0bff 100644
--- a/util/perl/TLSProxy/Record.pm
+++ b/util/perl/TLSProxy/Record.pm
@@ -97,7 +97,9 @@ sub get_records
$data # decrypt_data
);
- if ($content_type != RT_CCS) {
+ if ($content_type != RT_CCS
+ && (!TLSProxy::Proxy->is_tls13()
+ || $content_type != RT_ALERT)) {
if (($server && $server_encrypting)
|| (!$server && $client_encrypting)) {
if (!TLSProxy::Proxy->is_tls13() && $etm) {