Call to hashpw may time out prematurely with high rounds
diff --git a/lib/bcrypt/src/bcrypt.erl b/lib/bcrypt/src/bcrypt.erl
index cd071d0..e0ad2f6 100644
--- a/lib/bcrypt/src/bcrypt.erl
+++ b/lib/bcrypt/src/bcrypt.erl
@@ -95,7 +95,7 @@
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