fix(schema): no ciphers validator for quic listener

This commit is contained in:
Zaiming Shi 2021-09-27 13:46:45 +02:00
parent 58ffc4651f
commit 5417eb328a
1 changed files with 4 additions and 1 deletions

View File

@ -1114,7 +1114,10 @@ ciphers_schema(Default) ->
(Ciphers) when is_list(Ciphers) -> (Ciphers) when is_list(Ciphers) ->
Ciphers Ciphers
end end
, validator => fun validate_ciphers/1 , validator => case Default =:= quic of
true -> undefined; %% quic has openssl statically linked
false -> fun validate_ciphers/1
end
, desc => , desc =>
"""TLS cipher suite names separated by comma, or as an array of strings """TLS cipher suite names separated by comma, or as an array of strings
<code>\"TLS_AES_256_GCM_SHA384,TLS_AES_128_GCM_SHA256\"</code> or <code>\"TLS_AES_256_GCM_SHA384,TLS_AES_128_GCM_SHA256\"</code> or