From: Haelwenn (lanodan) Monnier Date: Sat, 15 May 2021 11:15:02 +0000 (+0200) Subject: media_proxy: switch from :crypto.hmac to :crypto.mac X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=168687eef2d289703f9ec7fc8453d4beb6adf0e7;p=akkoma media_proxy: switch from :crypto.hmac to :crypto.mac --- diff --git a/lib/pleroma/web/media_proxy.ex b/lib/pleroma/web/media_proxy.ex index 5c32078aa..0b232f14b 100644 --- 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