[openssl] OpenSSL_1_1_1-stable update

tmraz at fedoraproject.org tmraz at fedoraproject.org
Thu Apr 9 09:14:45 UTC 2020


The branch OpenSSL_1_1_1-stable has been updated
       via  32530103c25fb337f65a30da0b6e1974b99ae96a (commit)
      from  0d011f540400b425aba1c3e59624ad9dbabe83cb (commit)


- Log -----------------------------------------------------------------
commit 32530103c25fb337f65a30da0b6e1974b99ae96a
Author: Jim Newsome <jnewsome at torproject.org>
Date:   Tue Apr 7 16:29:53 2020 -0500

    Update RAND_METHOD definition in man page
    
    The `add` and `seed` callbacks were changed to return `int` instead of
    `void` in b6dcdbfc94c482f6c15ba725754fc9e827e41851 (first included in
    tag OpenSSL_1_1_0-pre1).
    
    The `add` callback was changed to take a `double` instead of an `int`
    in 853f757ecea74a271a7c5cdee3f3b5fe0d3ae863.
    
    CLA: trivial
    Fixes: #10199
    
    Reviewed-by: Matt Caswell <matt at openssl.org>
    Reviewed-by: Ben Kaduk <kaduk at mit.edu>
    Reviewed-by: Tomas Mraz <tmraz at fedoraproject.org>
    (Merged from https://github.com/openssl/openssl/pull/11486)
    
    (cherry picked from commit ae3254287ff87e484c7fd8f757cad1440ee8f5ff)

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

Summary of changes:
 doc/man3/RAND_set_rand_method.pod | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/doc/man3/RAND_set_rand_method.pod b/doc/man3/RAND_set_rand_method.pod
index b120e712e6..b89fab43c9 100644
--- a/doc/man3/RAND_set_rand_method.pod
+++ b/doc/man3/RAND_set_rand_method.pod
@@ -33,10 +33,10 @@ RAND_get_rand_method() returns a pointer to the current B<RAND_METHOD>.
 =head1 THE RAND_METHOD STRUCTURE
 
  typedef struct rand_meth_st {
-     void (*seed)(const void *buf, int num);
+     int (*seed)(const void *buf, int num);
      int (*bytes)(unsigned char *buf, int num);
      void (*cleanup)(void);
-     void (*add)(const void *buf, int num, int randomness);
+     int (*add)(const void *buf, int num, double entropy);
      int (*pseudorand)(unsigned char *buf, int num);
      int (*status)(void);
  } RAND_METHOD;


More information about the openssl-commits mailing list