diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/lib.h | 4 | ||||
-rw-r--r-- | lib/password.c | 4 |
2 files changed, 4 insertions, 4 deletions
@@ -170,6 +170,6 @@ char *num_to_sig(int sig); mode_t string_to_mode(char *mode_str, mode_t base); // password helper functions -int read_passwd(char * buff, int buflen, char* mesg); -int update_passwd(char *filename, char* username, char* encrypted); +int read_password(char * buff, int buflen, char* mesg); +int update_password(char *filename, char* username, char* encrypted); diff --git a/lib/password.c b/lib/password.c index 2b11144e..8221a022 100644 --- a/lib/password.c +++ b/lib/password.c @@ -8,7 +8,7 @@ #include <time.h> -int read_passwd(char * buff, int buflen, char* mesg) +int read_password(char * buff, int buflen, char* mesg) { int i = 0; struct termios termio, oldtermio; @@ -52,7 +52,7 @@ static char *get_nextcolon(const char *line, char delim) return current_ptr; } -int update_passwd(char *filename, char* username, char* encrypted) +int update_password(char *filename, char* username, char* encrypted) { char *filenamesfx = NULL, *namesfx = NULL; char *shadow = NULL, *sfx = NULL; |