Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
Call to hashpw may time out prematurely with high rounds
  • Loading branch information
hntrmrrs committed Nov 3, 2008
1 parent 6bcaf1c commit 9445e05188ca1b892f636ba65fe384428cb1186c
Showing 1 changed file with 1 addition and 1 deletion.
@@ -95,7 +95,7 @@ gen_salt(Pid, LogRounds) when is_pid(Pid), is_integer(LogRounds),
hashpw(Pid, Password, Salt)
when is_pid(Pid), (is_list(Password) orelse is_binary(Password)),
is_list(Salt) ->
gen_server:call(Pid, {hashpw, Password, Salt}).
gen_server:call(Pid, {hashpw, Password, Salt}, infinity).

%%====================================================================
%% gen_server callbacks

0 comments on commit 9445e05

Please sign in to comment.