diff options
author | Richard Levitte <levitte@openssl.org> | 2018-04-04 20:17:50 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2018-04-04 20:47:11 +0200 |
commit | 4845aeba4c49e1bd65259a5014d7e3ab38657d42 (patch) | |
tree | 54e6cfc43864523aac790a4d6176694b3aecfeaa /crypto/include/internal | |
parent | b791355b5c0c474ba1005008e3731a859de0754d (diff) |
Change rand_pool_add[_end] prototypes to match
Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
(Merged from https://github.com/openssl/openssl/pull/5877)
Diffstat (limited to 'crypto/include/internal')
-rw-r--r-- | crypto/include/internal/rand_int.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crypto/include/internal/rand_int.h b/crypto/include/internal/rand_int.h index e5ae0dfea4..baa9bfe47b 100644 --- a/crypto/include/internal/rand_int.h +++ b/crypto/include/internal/rand_int.h @@ -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); /* |