aboutsummaryrefslogtreecommitdiffstats
path: root/src/cowboy_websocket.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/cowboy_websocket.erl')
-rw-r--r--src/cowboy_websocket.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cowboy_websocket.erl b/src/cowboy_websocket.erl
index 1df32c9..df50162 100644
--- a/src/cowboy_websocket.erl
+++ b/src/cowboy_websocket.erl
@@ -21,7 +21,7 @@
%% Ignore the deprecation warning for crypto:sha/1.
%% @todo Remove when we support only R16B+.
--compile({nowarn_deprecated_function, {crypto, sha, 1}}).
+-compile(nowarn_deprecated_function).
%% API.
-export([upgrade/4]).