Skip to content

Commit

Permalink
Update smtp_fsm.erl
Browse files Browse the repository at this point in the history
  • Loading branch information
rusblaze committed Oct 22, 2014
1 parent cb02d21 commit 457e0a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/smtp_fsm.erl
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ hexit(Int) ->
%% generates MD5 mac and returns as hex string
md5_hmac(Challenge,Pwd) ->
crypto:start(),
Md5_bin = crypto:md5_mac(Pwd,Challenge),
Md5_bin = crypto:hmac(md5, Pwd, Challenge),
crypto:stop(),
hexdigest(Md5_bin).

Expand Down

0 comments on commit 457e0a0

Please sign in to comment.