Tomas Halman bed23cc34d
src/passwd.c: inconsistent password length limit
The passwd utility had hardcoded limit for password lenght set
to 200 characters. In the agetpass.c is used PASS_MAX for
this purpose.

This patch moves the PASS_MAX definition to common place
and uses it in both places.

Signed-off-by: Tomas Halman <tomas@halman.net>
Reviewed-by: Alejandro Colomar <alx@kernel.org>
Cherry-picked-from: f024002b3d66 ("src/passwd.c: inconsistent password length limit")
Cc: Serge Hallyn <serge@hallyn.com>
Link: <https://github.com/shadow-maint/shadow/pull/953>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-02-16 23:34:56 +01:00
..
2023-02-23 20:28:43 -06:00
2024-02-14 04:07:32 +01:00
2023-02-09 10:03:03 -06:00
2023-06-10 20:35:50 -05:00
2023-04-26 17:38:24 -05:00
2023-04-26 17:38:24 -05:00
2023-06-08 09:05:39 -05:00
2023-06-08 09:05:39 -05:00
2023-06-08 09:05:39 -05:00
2023-06-08 09:05:39 -05:00
2023-02-16 13:23:08 -06:00
2024-02-14 04:10:03 +01:00
2023-09-10 14:13:01 +02:00
2024-02-14 04:07:32 +01:00
2021-12-23 19:36:50 -06:00
2024-02-14 04:07:32 +01:00
2024-02-14 04:07:32 +01:00
2023-09-10 14:13:01 +02:00
2023-02-09 10:03:03 -06:00
2023-05-11 11:05:29 -05:00
2024-02-14 04:07:32 +01:00
2023-06-08 09:05:39 -05:00
2024-02-14 04:07:32 +01:00
2023-06-08 09:05:39 -05:00