diff options
author | Darrell Anderson <[email protected]> | 2023-01-30 10:03:32 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-01-30 10:03:32 +0900 |
commit | ba7c5fa56a12b4105ca2f6cb958d3358e00f7f31 (patch) | |
tree | be17c379c76334e9a5bb3e28d614b34a5a699fd5 /kcheckpass/checkpass_shadow.c | |
parent | 914277ddec9e0db430f4c70d47b309c439d26b2c (diff) | |
download | tdebase-ba7c5fa56a12b4105ca2f6cb958d3358e00f7f31.tar.gz tdebase-ba7c5fa56a12b4105ca2f6cb958d3358e00f7f31.zip |
Fix kcheckpass segfaults in non-PAM systems. This resolves bug 2854.
Signed-off-by: Darrell Anderson <[email protected]>
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'kcheckpass/checkpass_shadow.c')
-rw-r--r-- | kcheckpass/checkpass_shadow.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kcheckpass/checkpass_shadow.c b/kcheckpass/checkpass_shadow.c index ec3a4e02a..850bf06d4 100644 --- a/kcheckpass/checkpass_shadow.c +++ b/kcheckpass/checkpass_shadow.c @@ -34,6 +34,7 @@ #include <string.h> #include <stdlib.h> #include <pwd.h> +#include <crypt.h> #ifndef __hpux #include <shadow.h> |