summaryrefslogtreecommitdiff
path: root/src/shared/libcrypt-util.h
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2020-09-08 14:52:13 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2020-09-15 09:30:56 +0200
commit0e98d17e77a024a16fc15589b2b21bb6196d4567 (patch)
treedcd69b9b40f5b0001ee8251461e3df82d592c12c /src/shared/libcrypt-util.h
parent6743a1caf4037f03dc51a1277855018e4ab61957 (diff)
downloadsystemd-0e98d17e77a024a16fc15589b2b21bb6196d4567.tar.gz
Add a helper function that does make_salt+crypt_r
No functional change.
Diffstat (limited to 'src/shared/libcrypt-util.h')
-rw-r--r--src/shared/libcrypt-util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/libcrypt-util.h b/src/shared/libcrypt-util.h
index 8a860ceb0d..b10be2f7d2 100644
--- a/src/shared/libcrypt-util.h
+++ b/src/shared/libcrypt-util.h
@@ -18,5 +18,5 @@
#include <stdlib.h>
int make_salt(char **ret);
-
+int hash_password(const char *password, char **ret);
bool looks_like_hashed_password(const char *s);