Skip to content

Commit dbf35b8

Browse files
committed
remove :crypto.hmac/3 from pbkdf2
1 parent a8a72fb commit dbf35b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/mongo/pbkdf2.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,6 @@ defmodule Mongo.PBKDF2 do
5555
end
5656

5757
defp mac_fun(digest, secret) do
58-
&:crypto.hmac(digest, secret, &1)
58+
&:crypto.mac(:hmac, digest, secret, &1)
5959
end
6060
end

0 commit comments

Comments
 (0)