Browse Source

two functions don't need to be exported

OPENBSD_5_6
tedu 10 years ago
parent
commit
521978eee8
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      src/lib/libc/crypt/bcrypt.c

+ 3
- 3
src/lib/libc/crypt/bcrypt.c View File

@ -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> * 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. * Generates a salt for this version of crypt.
*/ */
int
static int
bcrypt_initsalt(int log_rounds, uint8_t *salt, size_t saltbuflen) bcrypt_initsalt(int log_rounds, uint8_t *salt, size_t saltbuflen)
{ {
uint8_t csalt[BCRYPT_MAXSALT]; uint8_t csalt[BCRYPT_MAXSALT];
@ -82,7 +82,7 @@ bcrypt_initsalt(int log_rounds, uint8_t *salt, size_t saltbuflen)
/* /*
* the core bcrypt function * the core bcrypt function
*/ */
int
static int
bcrypt_hashpass(const char *key, const char *salt, char *encrypted, bcrypt_hashpass(const char *key, const char *salt, char *encrypted,
size_t encryptedlen) size_t encryptedlen)
{ {


Loading…
Cancel
Save