diff options
author | Guilherme Andrade <[email protected]> | 2019-03-18 21:11:50 +0000 |
---|---|---|
committer | Guilherme Andrade <[email protected]> | 2019-03-18 21:13:24 +0000 |
commit | 012ee216f918b435859616b99d945f4038ce14b9 (patch) | |
tree | 74c73d27374a0f33b32ec38601a9e25ee851f131 | |
parent | 3190aef88aea04d6dce8545fe9b4574288903f44 (diff) | |
download | ranch-012ee216f918b435859616b99d945f4038ce14b9.tar.gz ranch-012ee216f918b435859616b99d945f4038ce14b9.tar.bz2 ranch-012ee216f918b435859616b99d945f4038ce14b9.zip |
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
-rw-r--r-- | src/ranch_ssl.erl | 2 |
1 files changed, 1 insertions, 1 deletions
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} |