commit: 168687eef2d289703f9ec7fc8453d4beb6adf0e7
parent 166455c88441b22455d996ed528ed4804514a3c0
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Sat, 15 May 2021 13:15:02 +0200
media_proxy: switch from :crypto.hmac to :crypto.mac
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/pleroma/web/media_proxy.ex b/lib/pleroma/web/media_proxy.ex
@@ -127,7 +127,7 @@ defmodule Pleroma.Web.MediaProxy do
end
defp signed_url(url) do
- :crypto.hmac(:sha, Config.get([Endpoint, :secret_key_base]), url)
+ :crypto.mac(:hmac, :sha, Config.get([Endpoint, :secret_key_base]), url)
end
def filename(url_or_path) do