From: Richard Levitte Date: Wed, 4 Apr 2018 18:17:50 +0000 (+0200) Subject: Change rand_pool_add[_end] prototypes to match X-Git-Tag: OpenSSL_1_1_1-pre5~59 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=4845aeba4c49e1bd65259a5014d7e3ab38657d42;p=oweals%2Fopenssl.git Change rand_pool_add[_end] prototypes to match Reviewed-by: Matthias St. Pierre (Merged from https://github.com/openssl/openssl/pull/5877) --- 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); /*