Add explicit comment before reading the password

This commit is contained in:
ATuinDev 2018-02-03 19:20:01 +01:00
parent 257e5ee99a
commit 5c419b3117
No known key found for this signature in database
GPG Key ID: 30B13E03CCAB58B7

View File

@ -108,6 +108,11 @@ int main(int argc, char *argv[])
exit(1);
}
/* Read password char by char.
*
* Doing in this way we make sure that blanks (even null bytes) end up
* in the password
*/
int j = 0;
while (j < (BUFFER_SIZE + 1)) {
char c = getchar();