Hardening, fixes #46

This commit is contained in:
2018-04-23 23:22:43 +02:00
parent 9e892f2cb1
commit 76389e4794
3 changed files with 12 additions and 6 deletions

View File

@ -10,6 +10,7 @@ LICENSE : GNU-GPLv3
#ifndef PPASSFILE
#error PPASSFILE must be declared!
#endif
#define PWPROMPT "Password::"
int authPassword(pam_handle_t *pamh, char *serious_dev, int8_t bSerious, int8_t bReboot, int8_t bPoweroff);