[openssl-commits] [openssl] master update

Richard Levitte levitte at openssl.org
Wed Apr 4 18:47:20 UTC 2018


The branch master has been updated
       via  4845aeba4c49e1bd65259a5014d7e3ab38657d42 (commit)
      from  b791355b5c0c474ba1005008e3731a859de0754d (commit)


- Log -----------------------------------------------------------------
commit 4845aeba4c49e1bd65259a5014d7e3ab38657d42
Author: Richard Levitte <levitte at openssl.org>
Date:   Wed Apr 4 20:17:50 2018 +0200

    Change rand_pool_add[_end] prototypes to match
    
    Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre at ncp-e.com>
    (Merged from https://github.com/openssl/openssl/pull/5877)

-----------------------------------------------------------------------

Summary of changes:
 crypto/include/internal/rand_int.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/crypto/include/internal/rand_int.h b/crypto/include/internal/rand_int.h
index e5ae0df..baa9bfe 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);
 
 
 /*


More information about the openssl-commits mailing list