diff --git a/src/bcrypt.cc b/src/bcrypt.cc index ec4b7d9f..bd8c5735 100644 --- a/src/bcrypt.cc +++ b/src/bcrypt.cc @@ -217,9 +217,7 @@ bcrypt(const char *key, size_t key_len, const char *salt, char *encrypted) key_len = (u_int8_t)(key_len + (minor >= 'a' ? 1 : 0)); else { - /* size_t, but the function calls - * below result in implicit casts to a narrower integer - * type, so cap key_len at the actual maximum supported + /* cap key_len at the actual maximum supported * length here to avoid integer wraparound */ if (key_len > 72) key_len = 72;