diff options
author | tedu <> | 2014-03-23 23:20:12 +0000 |
---|---|---|
committer | tedu <> | 2014-03-23 23:20:12 +0000 |
commit | 92df5d137e038f65c678cea2a951b12806496435 (patch) | |
tree | e28a025b06af8c16d70e89848d0c55c9a09e1a00 /src | |
parent | 6ecd5909f6d077b669db3958976e4da8d24f48c3 (diff) | |
download | openbsd-92df5d137e038f65c678cea2a951b12806496435.tar.gz openbsd-92df5d137e038f65c678cea2a951b12806496435.tar.bz2 openbsd-92df5d137e038f65c678cea2a951b12806496435.zip |
two functions don't need to be exported
Diffstat (limited to 'src')
-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 | { |