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 b5bf9ee0f..188a6a081 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_SHA256_CRYPT_IMPL__
+ { "$5$", __sha256_crypt },
+#endif
#ifdef __UCLIBC_HAS_SHA512_CRYPT_IMPL__
{ "$6$", __sha512_crypt },
#endif