Glibc 2.17 introduced two additional errno values that can be set by crypt() and crypt_r(), EINVAL and EPERM. Signed-off-by: Andreas Johansson <andjo@xxxxxxxxxx> --- man3/crypt.3 | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/man3/crypt.3 b/man3/crypt.3 index c3bad3e..8035d7c 100644 --- a/man3/crypt.3 +++ b/man3/crypt.3 @@ -122,10 +122,17 @@ On success, a pointer to the encrypted password is returned. On error, NULL is returned. .SH ERRORS .TP +.B EINVAL +The string used for the salt is not valid for the encryption method. +.TP .B ENOSYS The .BR crypt () function was not implemented, probably because of U.S.A. export restrictions. +.TP +.B EPERM +The encryption algorithm specified is not allowed by the FIPS +standard. .\" This level of detail is not necessary in this man page. . . .\" .PP .\" When encrypting a plain text P using DES with the key K results in the -- 1.8.4.rc3 -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html