summaryrefslogtreecommitdiff
path: root/libcrypt/crypt.c
diff options
context:
space:
mode:
Diffstat (limited to 'libcrypt/crypt.c')
-rw-r--r--libcrypt/crypt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcrypt/crypt.c b/libcrypt/crypt.c
index 8399205ca..9819029f2 100644
--- a/libcrypt/crypt.c
+++ b/libcrypt/crypt.c
@@ -26,7 +26,7 @@ char *crypt(const char *key, const char *salt)
return __sha512_crypt(ukey, usalt);
#endif
}
- /* __set_errno(EINVAL);*/ /* ENOSYS might be misleading */
+ __set_errno(EINVAL);
return NULL;
}
return __des_crypt(ukey, usalt);