diff options
author | 2003-06-25 21:08:59 +0000 | |
---|---|---|
committer | 2003-06-25 21:08:59 +0000 | |
commit | 74637cb20ab7a2e4876ccd7d35080bab410e65b8 (patch) | |
tree | 71d33f3c0222dbb51017370952a583d5030b318b /lib/libc/crypt/bcrypt.c | |
parent | proto getgrgid_r and getgrnam_r (diff) | |
download | wireguard-openbsd-74637cb20ab7a2e4876ccd7d35080bab410e65b8.tar.xz wireguard-openbsd-74637cb20ab7a2e4876ccd7d35080bab410e65b8.zip |
protos
Diffstat (limited to 'lib/libc/crypt/bcrypt.c')
-rw-r--r-- | lib/libc/crypt/bcrypt.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libc/crypt/bcrypt.c b/lib/libc/crypt/bcrypt.c index dec0093dd8c..35959d1fc44 100644 --- a/lib/libc/crypt/bcrypt.c +++ b/lib/libc/crypt/bcrypt.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bcrypt.c,v 1.16 2002/02/19 19:39:36 millert Exp $ */ +/* $OpenBSD: bcrypt.c,v 1.17 2003/06/25 21:16:47 deraadt Exp $ */ /* * Copyright 1997 Niels Provos <provos@physnet.uni-hamburg.de> @@ -172,6 +172,8 @@ bcrypt_gensalt(u_int8_t log_rounds) /* We handle $Vers$log2(NumRounds)$salt+passwd$ i.e. $2$04$iwouldntknowwhattosayetKdJ6iFtacBqJdKe6aW7ou */ +char *bcrypt(const char *key, const char *salt); + char * bcrypt(key, salt) const char *key; |