diff options
author | Thomas Bushnell <thomas@gnu.org> | 1996-07-31 18:25:29 +0000 |
---|---|---|
committer | Thomas Bushnell <thomas@gnu.org> | 1996-07-31 18:25:29 +0000 |
commit | f28788d1d61c2757724f744b1dec8f64c7268fc2 (patch) | |
tree | 4b5dee17b1b0de4088bdb3012f4dfe2947a4fede /utils/su.c | |
parent | c4397aeaf295391458ef80816ca63ff34ef35461 (diff) |
*** empty log message ***
Diffstat (limited to 'utils/su.c')
-rw-r--r-- | utils/su.c | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -451,13 +451,11 @@ apply_auth_to_pgrp (struct auth *auth, pid_t pgrp) string PASSWORD, 0 if not. Return 1 without asking for a password if run by uid 0 or if PASSWORD is an empty password, and always under -r. Always prints a message before returning 0. */ - -asm (".weak crypt"); - int check_password (const char *name, const char *password) { - extern char *crypt (const char *string, const char salt[2]); + extern char *crypt (const char *string, const char salt[2]) + __attribute__ ((weak)); char *unencrypted, *encrypted; static char *prompt = NULL; |