Skip to content
Commit c9ab7d47 authored by Adriaan de Groot's avatar Adriaan de Groot 💬 Committed by Devin Lin
Browse files

Sanitize saltCharacter()

 - the array of salt chars should be const, it's read-only
 - the array of salt chars should be static, since it is
   initialized to a constant value anyway and can live beyond
   this one function
 - sizeof(char) is 1 by the standard, so remove the weird
   array-size calculation: here saltCharacters has type
   (const) char[63], and its sizeof() is 63
parent 0056b709
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment