Skip to content

Commit

Permalink
Change rand_pool_add[_end] prototypes to match
Browse files Browse the repository at this point in the history
Reviewed-by: Matthias St. Pierre <[email protected]>
(Merged from openssl#5877)
  • Loading branch information
levitte committed Apr 4, 2018
1 parent b791355 commit 4845aeb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crypto/include/internal/rand_int.h
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,10 @@ size_t rand_pool_entropy_needed(RAND_POOL *pool);
size_t rand_pool_bytes_needed(RAND_POOL *pool, unsigned int entropy_per_byte);
size_t rand_pool_bytes_remaining(RAND_POOL *pool);

size_t rand_pool_add(RAND_POOL *pool,
const unsigned char *buffer, size_t len, size_t entropy);
int rand_pool_add(RAND_POOL *pool,
const unsigned char *buffer, size_t len, size_t entropy);
unsigned char *rand_pool_add_begin(RAND_POOL *pool, size_t len);
size_t rand_pool_add_end(RAND_POOL *pool, size_t len, size_t entropy);
int rand_pool_add_end(RAND_POOL *pool, size_t len, size_t entropy);


/*
Expand Down

0 comments on commit 4845aeb

Please sign in to comment.