From 8e5956350b60c3701c6e13f6b26974d5c5fa538a Mon Sep 17 00:00:00 2001 From: Guillermo Iguaran Date: Mon, 10 Apr 2023 21:38:35 -0700 Subject: [PATCH] Remove extra spaces added in d62ecf8b4 --- lib/argon2.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/argon2.rb b/lib/argon2.rb index 84324a0..fdb4763 100644 --- a/lib/argon2.rb +++ b/lib/argon2.rb @@ -23,13 +23,13 @@ class Password def initialize(options = {}) @t_cost = options[:t_cost] || DEFAULT_T_COST - raise ArgonHashFail, "Invalid t_cost" if @t_cost < MIN_T_COST || @t_cost > MAX_T_COST + raise ArgonHashFail, "Invalid t_cost" if @t_cost < MIN_T_COST || @t_cost > MAX_T_COST @m_cost = options[:m_cost] || DEFAULT_M_COST - raise ArgonHashFail, "Invalid m_cost" if @m_cost < MIN_M_COST || @m_cost > MAX_M_COST + raise ArgonHashFail, "Invalid m_cost" if @m_cost < MIN_M_COST || @m_cost > MAX_M_COST @p_cost = options[:p_cost] || DEFAULT_P_COST - raise ArgonHashFail, "Invalid p_cost" if @p_cost < MIN_P_COST || @p_cost > MAX_P_COST + raise ArgonHashFail, "Invalid p_cost" if @p_cost < MIN_P_COST || @p_cost > MAX_P_COST @salt_do_not_supply = options[:salt_do_not_supply] @secret = options[:secret]