summaryrefslogtreecommitdiff
path: root/src/crypt.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/crypt.c')
-rw-r--r--src/crypt.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/crypt.c b/src/crypt.c
index 884f330d7e..93944dbca6 100644
--- a/src/crypt.c
+++ b/src/crypt.c
@@ -108,7 +108,7 @@ print_num (const char *msg, const gnutls_datum_t * num)
}
-int
+static int
generate_create_conf (char *tpasswd_conf)
{
FILE *fd;
@@ -320,7 +320,7 @@ find_strchr (char *username, char *file)
/* Parses the tpasswd files, in order to verify the given
* username/password pair.
*/
-int
+static int
verify_passwd (char *conffile, char *tpasswd, char *username,
const char *passwd)
{
@@ -494,7 +494,7 @@ main (int argc, char **argv)
}
-char *
+static char *
_srp_crypt (const char *username, const char *passwd, int salt_size,
const gnutls_datum_t * g, const gnutls_datum_t * n)
{