crypt.3: Describe additional errno values
PATCH 1/1 crypt.3: Describe additional errno values
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-5UnqSh4Icw/[email protected]>
--- man3/crypt.3 | 7 +++++++ 1 file changed, 7 insertions(+)
man3/crypt.3 +7 -0
@@ -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
Signature · 6 lines
1.8.4.rc3 -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html