summaryrefslogtreecommitdiff
path: root/lib/libcrypt/bcrypt.c
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2005-01-11 23:02:16 +0000
committerchristos <christos@NetBSD.org>2005-01-11 23:02:16 +0000
commit7724b89cd5980e082d3d4fa228871e284d9e6d13 (patch)
tree9a915efc570b7977cdeaacbd34874030385d267f /lib/libcrypt/bcrypt.c
parent07981e68ac46eafe7660383754bba1b257fd1471 (diff)
add local prototype for old salt function
Diffstat (limited to 'lib/libcrypt/bcrypt.c')
-rw-r--r--lib/libcrypt/bcrypt.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/libcrypt/bcrypt.c b/lib/libcrypt/bcrypt.c
index 7346acd57e8..da1827ab177 100644
--- a/lib/libcrypt/bcrypt.c
+++ b/lib/libcrypt/bcrypt.c
@@ -1,4 +1,4 @@
-/* $NetBSD: bcrypt.c,v 1.4 2005/01/11 22:39:21 christos Exp $ */
+/* $NetBSD: bcrypt.c,v 1.5 2005/01/11 23:02:16 christos Exp $ */
/* $OpenBSD: bcrypt.c,v 1.16 2002/02/19 19:39:36 millert Exp $ */
/*
@@ -51,7 +51,7 @@
#endif
#include <sys/cdefs.h>
-__RCSID("$NetBSD: bcrypt.c,v 1.4 2005/01/11 22:39:21 christos Exp $");
+__RCSID("$NetBSD: bcrypt.c,v 1.5 2005/01/11 23:02:16 christos Exp $");
#include <stdio.h>
#include <stdlib.h>
@@ -86,6 +86,8 @@ static char error[] = ":";
const static u_int8_t Base64Code[] =
"./ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
+char *bcrypt_gensalt(u_int8_t);
+
const static u_int8_t index_64[128] =
{
255, 255, 255, 255, 255, 255, 255, 255, 255, 255,