[openssl-commits] [openssl] OpenSSL_1_1_0-stable update

Matt Caswell matt at openssl.org
Tue Aug 1 17:15:26 UTC 2017


The branch OpenSSL_1_1_0-stable has been updated
       via  68e5820c21a0ae193cda4c0ac95d3f0e7457170c (commit)
      from  09f87aa6a14f518c2fdf7170462b594c24a7c527 (commit)


- Log -----------------------------------------------------------------
commit 68e5820c21a0ae193cda4c0ac95d3f0e7457170c
Author: Ken Goldman <kgoldman at us.ibm.com>
Date:   Mon Jul 31 16:44:47 2017 -0400

    RSA_get0_ functions permit NULL parameters
    
    Document that the RSA_get0_ functions permit a NULL BIGNUM **. Those output parameters are ignored.
    
    Reviewed-by: Paul Dale <paul.dale at oracle.com>
    Reviewed-by: Matt Caswell <matt at openssl.org>
    (Merged from https://github.com/openssl/openssl/pull/4064)
    
    (cherry picked from commit 07c54e598ce8a15c08abcfcae939bdf8f017dae3)

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

Summary of changes:
 doc/crypto/RSA_get0_key.pod | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/doc/crypto/RSA_get0_key.pod b/doc/crypto/RSA_get0_key.pod
index 52f83e1..827c22f 100644
--- a/doc/crypto/RSA_get0_key.pod
+++ b/doc/crypto/RSA_get0_key.pod
@@ -58,6 +58,10 @@ set with RSA_get0_factors() and RSA_set0_factors(), and the B<dmp1>,
 B<dmq1> and B<iqmp> parameters can be obtained and set with
 RSA_get0_crt_params() and RSA_set0_crt_params().
 
+For RSA_get0_key(), RSA_get0_factors(), and RSA_get0_crt_params(),
+NULL value BIGNUM ** output parameters are permitted.  The functions
+ignore NULL parameters but return values for other, non-NULL, parameters.
+
 RSA_set_flags() sets the flags in the B<flags> parameter on the RSA
 object. Multiple flags can be passed in one go (bitwise ORed together).
 Any flags that are already set are left set. RSA_test_flags() tests to


More information about the openssl-commits mailing list