aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/passhash/passhash9/passhash9.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/passhash/passhash9/passhash9.cpp')
-rw-r--r--src/lib/passhash/passhash9/passhash9.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/passhash/passhash9/passhash9.cpp b/src/lib/passhash/passhash9/passhash9.cpp
index b457fc5c7..c6a2f7d9e 100644
--- a/src/lib/passhash/passhash9/passhash9.cpp
+++ b/src/lib/passhash/passhash9/passhash9.cpp
@@ -104,7 +104,7 @@ bool check_passhash9(const std::string& pass, const std::string& hash)
return false;
if(work_factor > 512)
- throw std::invalid_argument("Requested Bcrypt work factor " +
+ throw Invalid_Argument("Requested Bcrypt work factor " +
std::to_string(work_factor) + " too large");
const size_t kdf_iterations = WORK_FACTOR_SCALE * work_factor;