# HG changeset patch # User Kim Alvefur # Date 1443750814 -7200 # Node ID a43ed0d289185e6cc57fc4344d524565fe1b7f76 # Parent 2eac15ab605e8ae695bebcbaba40105aa14085a6 mod_tls_policy: Change the FS shortcut to match on ciphers with (EC)DHE (produces nicer stream error) diff -r 2eac15ab605e -r a43ed0d28918 mod_tls_policy/mod_tls_policy.lua --- a/mod_tls_policy/mod_tls_policy.lua Thu Oct 01 20:59:35 2015 +0200 +++ b/mod_tls_policy/mod_tls_policy.lua Fri Oct 02 03:53:34 2015 +0200 @@ -4,7 +4,7 @@ local function hook(event_name, typ, policy) if not policy then return end if policy == "FS" then - policy = { key = "DH$" }; + policy = { cipher = "^E?C?DHE%-" }; elseif type(policy) == "string" then policy = { cipher = policy }; end