diff options
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/libc/crypt/bcrypt.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libc/crypt/bcrypt.c b/src/lib/libc/crypt/bcrypt.c index 29ea4550c9..7070cb7375 100644 --- a/src/lib/libc/crypt/bcrypt.c +++ b/src/lib/libc/crypt/bcrypt.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: bcrypt.c,v 1.32 2014/03/23 23:19:21 tedu Exp $ */ | 1 | /* $OpenBSD: bcrypt.c,v 1.33 2014/03/23 23:20:12 tedu Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Copyright (c) 2014 Ted Unangst <tedu@openbsd.org> | 4 | * Copyright (c) 2014 Ted Unangst <tedu@openbsd.org> |
@@ -58,7 +58,7 @@ static void decode_base64(u_int8_t *, u_int16_t, u_int8_t *); | |||
58 | /* | 58 | /* |
59 | * Generates a salt for this version of crypt. | 59 | * Generates a salt for this version of crypt. |
60 | */ | 60 | */ |
61 | int | 61 | static int |
62 | bcrypt_initsalt(int log_rounds, uint8_t *salt, size_t saltbuflen) | 62 | bcrypt_initsalt(int log_rounds, uint8_t *salt, size_t saltbuflen) |
63 | { | 63 | { |
64 | uint8_t csalt[BCRYPT_MAXSALT]; | 64 | uint8_t csalt[BCRYPT_MAXSALT]; |
@@ -82,7 +82,7 @@ bcrypt_initsalt(int log_rounds, uint8_t *salt, size_t saltbuflen) | |||
82 | /* | 82 | /* |
83 | * the core bcrypt function | 83 | * the core bcrypt function |
84 | */ | 84 | */ |
85 | int | 85 | static int |
86 | bcrypt_hashpass(const char *key, const char *salt, char *encrypted, | 86 | bcrypt_hashpass(const char *key, const char *salt, char *encrypted, |
87 | size_t encryptedlen) | 87 | size_t encryptedlen) |
88 | { | 88 | { |