fixed. Support building in one binary
This commit is contained in:
parent
7d0207ace2
commit
33b89e64da
38 changed files with 285 additions and 163 deletions
9
libmu/pw_check.h
Normal file
9
libmu/pw_check.h
Normal file
|
@ -0,0 +1,9 @@
|
|||
#ifndef _PW_CHECK_H
|
||||
#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
|
Loading…
Add table
Add a link
Reference in a new issue