summaryrefslogtreecommitdiff
path: root/libcrypt/crypt.c
diff options
context:
space:
mode:
Diffstat (limited to 'libcrypt/crypt.c')
-rw-r--r--libcrypt/crypt.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libcrypt/crypt.c b/libcrypt/crypt.c
index 33f98b65a..b5bf9ee0f 100644
--- a/libcrypt/crypt.c
+++ b/libcrypt/crypt.c
@@ -19,6 +19,9 @@ static const struct {
const crypt_impl_f crypt_impl;
} crypt_impl_tab[] = {
{ "$1$", __md5_crypt },
+#ifdef __UCLIBC_HAS_SHA512_CRYPT_IMPL__
+ { "$6$", __sha512_crypt },
+#endif
{ NULL, __des_crypt },
};