summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordhill <dhill@openbsd.org>2010-07-11 15:53:12 +0000
committerdhill <dhill@openbsd.org>2010-07-11 15:53:12 +0000
commit33b8d73566f9ba7095b0e6ec384b8ff5903affe9 (patch)
tree95d65234d2c922081cc53c106b0d4da7ef86a87b
parenttypo (diff)
downloadwireguard-openbsd-33b8d73566f9ba7095b0e6ec384b8ff5903affe9.tar.xz
wireguard-openbsd-33b8d73566f9ba7095b0e6ec384b8ff5903affe9.zip
bcrypt_gensalt is already declared in pwd.h
"sure" deraadt@
-rw-r--r--usr.bin/passwd/pwd_gensalt.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.bin/passwd/pwd_gensalt.c b/usr.bin/passwd/pwd_gensalt.c
index c61e8283ccb..adc7b2b84e4 100644
--- a/usr.bin/passwd/pwd_gensalt.c
+++ b/usr.bin/passwd/pwd_gensalt.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pwd_gensalt.c,v 1.26 2007/07/06 13:09:36 thib Exp $ */
+/* $OpenBSD: pwd_gensalt.c,v 1.27 2010/07/11 15:53:12 dhill Exp $ */
/*
* Copyright 1997 Niels Provos <provos@physnet.uni-hamburg.de>
@@ -41,7 +41,6 @@
#include <login_cap.h>
void to64(char *, u_int32_t, int n);
-char *bcrypt_gensalt(u_int8_t);
int pwd_gensalt(char *, int, login_cap_t *, char);
#define YPCIPHER_DEF "old"