fixed pw_check, cryptpw

This commit is contained in:
pups 2024-07-31 13:58:31 +03:00
parent 1925d32c40
commit ff94d81541
5 changed files with 29 additions and 43 deletions

View file

@ -2,8 +2,5 @@
#define _PW_CHECK_H
#include <pwd.h>
void dec_salt(void);
char *enc_password(const char *prog_name, const char *pass, const char *salt);
int pw_check(const char *prog_name, const struct passwd *pw, const char *pass);
#endif