Fix Coverity 1386194 Initialize class member

Only a problem if stuff is not done in the expected order. Initialize to zero so at least things go wrong but they don't go wildly wrong.
This commit is contained in:
Gregory A Lundberg 2018-03-18 17:04:49 -05:00
parent 9902a2df31
commit 22f0a89a64
No known key found for this signature in database
GPG key ID: 149484078AE8AE9E

View file

@ -80,7 +80,7 @@ public:
static bcrypt from_hash_string(const std::string& input);
static bcrypt hash_pw(const std::string& password, bcrypt& salt);
std::size_t iteration_count_delim_pos;
std::size_t iteration_count_delim_pos = 0;
static bool is_valid_prefix(const std::string& hash);
std::string get_salt() const;