Sanitize saltCharacter()

Authored by adridg on May 26 2020, 2:21 PM.

Description

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

Details

Committed
adridgJun 7 2020, 3:08 PM
Parents
R119:3be70edad505: SVN_SILENT made messages (.desktop file) - always resolve ours
Branches
Unknown
Tags
Unknown