nickva commented on code in PR #4094:
URL: https://github.com/apache/couchdb/pull/4094#discussion_r917042014
##########
test/elixir/test/proxyauth_test.exs:
##########
@@ -62,11 +62,9 @@ defmodule ProxyAuthTest do
|> Enum.join("")
end
- defp hex_hmac_sha1(secret, message) do
+ defp hex_hmac_sha256(secret, message) do
signature = case :erlang.system_info(:otp_release) do
- '20' -> :crypto.hmac(:sha, secret, message)
Review Comment:
Good idea!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]