summaryrefslogtreecommitdiffstats
path: root/lib/libcrypt/crypt.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libcrypt/crypt.c')
-rw-r--r--lib/libcrypt/crypt.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/libcrypt/crypt.c b/lib/libcrypt/crypt.c
index a6b91f5..89d427f 100644
--- a/lib/libcrypt/crypt.c
+++ b/lib/libcrypt/crypt.c
@@ -63,6 +63,16 @@ static const struct {
"$3$"
},
{
+ "sha256",
+ sha256_crypt,
+ "$5$"
+ },
+ {
+ "sha512",
+ sha512_crypt,
+ "$6$"
+ },
+ {
NULL,
NULL,
NULL
OpenPOWER on IntegriCloud