From 012ee216f918b435859616b99d945f4038ce14b9 Mon Sep 17 00:00:00 2001 From: Guilherme Andrade Date: Mon, 18 Mar 2019 21:11:50 +0000 Subject: Fix Dialyzer warning on unknown `ssl_cipher:erl_cipher_suite/0' type * Up until OTP 21.0 it was defined on the ssl_cipher[0] module * On OTP 21.1 it was moved into ssl_cipher_format[1] * On OTP 21.3 it was moved into ssl[2] [0]: https://github.com/erlang/otp/blob/OTP-21.0/lib/ssl/src/ssl_cipher.erl#L56-L60 [1]: https://github.com/erlang/otp/blob/OTP-21.1/lib/ssl/src/ssl_cipher_format.erl#L40-L44 [2]: https://github.com/erlang/otp/blob/OTP-21.3/lib/ssl/src/ssl.erl#L136-L140 --- src/ranch_ssl.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/ranch_ssl.erl b/src/ranch_ssl.erl index 03eb5ee..42ef6c0 100644 --- a/src/ranch_ssl.erl +++ b/src/ranch_ssl.erl @@ -51,7 +51,7 @@ | {cacerts, [public_key:der_encoded()]} | {cert, public_key:der_encoded()} | {certfile, string()} - | {ciphers, [ssl_cipher:erl_cipher_suite()]} + | {ciphers, [ssl:erl_cipher_suite()]} | {client_renegotiation, boolean()} | {crl_cache, {module(), {internal | any(), list()}}} | {crl_check, boolean() | peer | best_effort} -- cgit v1.2.3