Skip to content

Commit

Permalink
Updated libtor dependencies.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jorropo-berty-bot committed Mar 20, 2021
1 parent ed0bc8f commit 8bc974c
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ The `go-libtor` project is a self-contained, fully statically linked Tor library
|:-:|:-:|:-:|
| zlib | 1.2.11 | [`cacf7f1d4e3d44d871b605da3b647f07d718623f`](https://github.com/madler/zlib/commit/cacf7f1d4e3d44d871b605da3b647f07d718623f) |
| libevent | 2.2.0-alpha-dev | [`00b92f42b69af29a820b46049fd00be9cd3fb7d4`](https://github.com/libevent/libevent/commit/00b92f42b69af29a820b46049fd00be9cd3fb7d4) |
| openssl | 1.1.1-stable | [`f9398cc2b31858ddaaea3f5cfec2fce7f9b90347`](https://github.com/openssl/openssl/commit/f9398cc2b31858ddaaea3f5cfec2fce7f9b90347) |
| openssl | 1.1.1-stable | [`b402f00ee26157ad4e7e6e52f3a736743e3de46f`](https://github.com/openssl/openssl/commit/b402f00ee26157ad4e7e6e52f3a736743e3de46f) |
| tor | 0.3.5.14-dev | [`1693b6151e1369ce0938761cac95e7a0a524f5f3`](https://gitweb.torproject.org/tor.git/commit/?id=1693b6151e1369ce0938761cac95e7a0a524f5f3) |

The library is currently supported on:
Expand Down
6 changes: 5 additions & 1 deletion darwin/openssl/crypto/rand/rand_lib.c
Original file line number Diff line number Diff line change
Expand Up @@ -432,9 +432,13 @@ int RAND_poll(void)
RAND_POOL *rand_pool_new(int entropy_requested, int secure,
size_t min_len, size_t max_len)
{
RAND_POOL *pool = OPENSSL_zalloc(sizeof(*pool));
RAND_POOL *pool;
size_t min_alloc_size = RAND_POOL_MIN_ALLOCATION(secure);

if (!RUN_ONCE(&rand_init, do_rand_init))
return NULL;

pool = OPENSSL_zalloc(sizeof(*pool));
if (pool == NULL) {
RANDerr(RAND_F_RAND_POOL_NEW, ERR_R_MALLOC_FAILURE);
return NULL;
Expand Down
6 changes: 5 additions & 1 deletion linux/openssl/crypto/rand/rand_lib.c
Original file line number Diff line number Diff line change
Expand Up @@ -432,9 +432,13 @@ int RAND_poll(void)
RAND_POOL *rand_pool_new(int entropy_requested, int secure,
size_t min_len, size_t max_len)
{
RAND_POOL *pool = OPENSSL_zalloc(sizeof(*pool));
RAND_POOL *pool;
size_t min_alloc_size = RAND_POOL_MIN_ALLOCATION(secure);

if (!RUN_ONCE(&rand_init, do_rand_init))
return NULL;

pool = OPENSSL_zalloc(sizeof(*pool));
if (pool == NULL) {
RANDerr(RAND_F_RAND_POOL_NEW, ERR_R_MALLOC_FAILURE);
return NULL;
Expand Down
2 changes: 1 addition & 1 deletion lock.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"zlib":"cacf7f1d4e3d44d871b605da3b647f07d718623f","libevent":"00b92f42b69af29a820b46049fd00be9cd3fb7d4","openssl":"f9398cc2b31858ddaaea3f5cfec2fce7f9b90347","tor":"1693b6151e1369ce0938761cac95e7a0a524f5f3"}
{"zlib":"cacf7f1d4e3d44d871b605da3b647f07d718623f","libevent":"00b92f42b69af29a820b46049fd00be9cd3fb7d4","openssl":"b402f00ee26157ad4e7e6e52f3a736743e3de46f","tor":"1693b6151e1369ce0938761cac95e7a0a524f5f3"}
2 changes: 1 addition & 1 deletion openssl_config/buildinf.macos64.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
*/

#define PLATFORM "platform: darwin64-x86_64-cc"
#define DATE "built on: Thu Mar 18 21:25:10 2021 +1000"
#define DATE "built on: Sat Mar 20 10:26:00 2021 +1000"

/*
* Generate compiler_flags as an array of individual characters. This is a
Expand Down
2 changes: 1 addition & 1 deletion openssl_config/buildinf.x64.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
*/

#define PLATFORM "platform: linux-x86_64"
#define DATE "built on: Thu Mar 18 21:25:10 2021 +1000"
#define DATE "built on: Sat Mar 20 10:26:00 2021 +1000"

/*
* Generate compiler_flags as an array of individual characters. This is a
Expand Down
2 changes: 1 addition & 1 deletion openssl_config/buildinf.x86.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
*/

#define PLATFORM "platform: linux-x86"
#define DATE "built on: Thu Mar 18 21:25:10 2021 +1000"
#define DATE "built on: Sat Mar 20 10:26:00 2021 +1000"

/*
* Generate compiler_flags as an array of individual characters. This is a
Expand Down

0 comments on commit 8bc974c

Please sign in to comment.