Revisión | 2f6076cdaada2132b670b5ef25ad80c76a916c5a (tree) |
---|---|
Tiempo | 2020-11-13 12:21:04 |
Autor | Waldemar Brodkorb <wbx@open...> |
Commiter | Waldemar Brodkorb |
libcrypt: set_errno to something valid
@@ -26,7 +26,7 @@ char *crypt(const char *key, const char *salt) | ||
26 | 26 | return __sha512_crypt(ukey, usalt); |
27 | 27 | #endif |
28 | 28 | } |
29 | - /* __set_errno(EINVAL);*/ /* ENOSYS might be misleading */ | |
29 | + __set_errno(EINVAL); | |
30 | 30 | return NULL; |
31 | 31 | } |
32 | 32 | return __des_crypt(ukey, usalt); |