Skip to content

Commit f28e916

Browse files
committed
Reword comment
1 parent ca1e43b commit f28e916

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/bcrypt.cc

+1-3
Original file line numberDiff line numberDiff line change
@@ -217,9 +217,7 @@ bcrypt(const char *key, size_t key_len, const char *salt, char *encrypted)
217217
key_len = (u_int8_t)(key_len + (minor >= 'a' ? 1 : 0));
218218
else
219219
{
220-
/* size_t, but the function calls
221-
* below result in implicit casts to a narrower integer
222-
* type, so cap key_len at the actual maximum supported
220+
/* cap key_len at the actual maximum supported
223221
* length here to avoid integer wraparound */
224222
if (key_len > 72)
225223
key_len = 72;

0 commit comments

Comments
 (0)