diff options
author | Ted Unangst <tedu@cvs.openbsd.org> | 2014-03-23 23:20:13 +0000 |
---|---|---|
committer | Ted Unangst <tedu@cvs.openbsd.org> | 2014-03-23 23:20:13 +0000 |
commit | 3d3b38e5701a64d805c57244bcce83b21e072230 (patch) | |
tree | 93c50ea719be440844992f4cf0ed1276e7bed2d4 | |
parent | aa32014b909ff74c8918ccb64e6d51609065068a (diff) |
two functions don't need to be exported
-rw-r--r-- | lib/libc/crypt/bcrypt.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/crypt/bcrypt.c b/lib/libc/crypt/bcrypt.c index 29ea4550c95..7070cb73755 100644 --- a/lib/libc/crypt/bcrypt.c +++ b/lib/libc/crypt/bcrypt.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bcrypt.c,v 1.32 2014/03/23 23:19:21 tedu Exp $ */ +/* $OpenBSD: bcrypt.c,v 1.33 2014/03/23 23:20:12 tedu Exp $ */ /* * 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 *); /* * Generates a salt for this version of crypt. */ -int +static int bcrypt_initsalt(int log_rounds, uint8_t *salt, size_t saltbuflen) { uint8_t csalt[BCRYPT_MAXSALT]; @@ -82,7 +82,7 @@ bcrypt_initsalt(int log_rounds, uint8_t *salt, size_t saltbuflen) /* * the core bcrypt function */ -int +static int bcrypt_hashpass(const char *key, const char *salt, char *encrypted, size_t encryptedlen) { |