diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/rabbit_ssl.erl | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/rabbit_ssl.erl b/src/rabbit_ssl.erl index f1a8469ac0..6190e0d9ec 100644 --- a/src/rabbit_ssl.erl +++ b/src/rabbit_ssl.erl @@ -108,9 +108,10 @@ format_cipher_openssl22(Cipher) -> format_cipher_openssl21(Cipher) -> ssl_cipher_format:suite_to_str(Cipher). --spec get_highest_protocol_version() -> tls_record:tls_version(). +-spec get_highest_protocol_version() -> tls_record:tls_atom_version(). get_highest_protocol_version() -> - tls_record:highest_protocol_version([]). + tls_record:protocol_version( + tls_record:highest_protocol_version([])). %%-------------------------------------------------------------------------- %% High-level functions used by reader |
