diff options
author | Raimo Niskanen <[email protected]> | 2018-11-16 11:40:03 +0100 |
---|---|---|
committer | Raimo Niskanen <[email protected]> | 2018-11-30 15:03:14 +0100 |
commit | 54f871fe6e093d0eaf0cebb9e9b228177b30d15a (patch) | |
tree | 92ee77fb46a713c614aa2dfae1a6b5a2fe22fd78 | |
parent | f8183c3949b3da11fafac4e5b7737fb75e0d0f11 (diff) | |
download | otp-54f871fe6e093d0eaf0cebb9e9b228177b30d15a.tar.gz otp-54f871fe6e093d0eaf0cebb9e9b228177b30d15a.tar.bz2 otp-54f871fe6e093d0eaf0cebb9e9b228177b30d15a.zip |
Fix compiler warnings
-rw-r--r-- | lib/ssl/test/ssl_test_lib.erl | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/ssl/test/ssl_test_lib.erl b/lib/ssl/test/ssl_test_lib.erl index 8a2f0824fb..a8d62d6c4e 100644 --- a/lib/ssl/test/ssl_test_lib.erl +++ b/lib/ssl/test/ssl_test_lib.erl @@ -26,6 +26,7 @@ %% Note: This directive should only be used in test suites. -compile(export_all). +-compile(nowarn_export_all). -record(sslsocket, { fd = nil, pid = nil}). -define(SLEEP, 1000). @@ -1706,10 +1707,10 @@ openssl_dsa_support() -> true; "LibreSSL" ++ _ -> false; - "OpenSSL 1.1" ++ Rest -> + "OpenSSL 1.1" ++ _Rest -> false; "OpenSSL 1.0.1" ++ Rest -> - hd(Rest) >= s; + hd(Rest) >= $s; _ -> true end. @@ -1746,8 +1747,6 @@ openssl_sane_client_cert() -> false; "LibreSSL 2.0" ++ _ -> false; - "LibreSSL 2.0" ++ _ -> - false; "OpenSSL 1.0.1s-freebsd" -> false; "OpenSSL 1.0.0" ++ _ -> |