diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/libbb.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/libbb.h b/include/libbb.h index 655ca01a5..e92dbc4c0 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
@@ -1032,6 +1032,9 @@ extern int restricted_shell(const char *shell); | |||
1032 | extern void setup_environment(const char *shell, int clear_env, int change_env, const struct passwd *pw); | 1032 | extern void setup_environment(const char *shell, int clear_env, int change_env, const struct passwd *pw); |
1033 | extern int correct_password(const struct passwd *pw); | 1033 | extern int correct_password(const struct passwd *pw); |
1034 | /* Returns a malloced string */ | 1034 | /* Returns a malloced string */ |
1035 | #if !ENABLE_USE_BB_CRYPT | ||
1036 | #define pw_encrypt(clear, salt, cleanup) pw_encrypt(clear, salt) | ||
1037 | #endif | ||
1035 | extern char *pw_encrypt(const char *clear, const char *salt, int cleanup); | 1038 | extern char *pw_encrypt(const char *clear, const char *salt, int cleanup); |
1036 | extern int obscure(const char *old, const char *newval, const struct passwd *pwdp); | 1039 | extern int obscure(const char *old, const char *newval, const struct passwd *pwdp); |
1037 | /* rnd is additional random input. New one is returned. | 1040 | /* rnd is additional random input. New one is returned. |