aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorKen Goldman <kgoldman@us.ibm.com>2017-07-31 16:44:47 -0400
committerMatt Caswell <matt@openssl.org>2017-08-01 18:11:40 +0100
commit07c54e598ce8a15c08abcfcae939bdf8f017dae3 (patch)
tree38550226db9338d50250f69a5b5db60939b1b586 /doc
parentc0537ebdf1e85e52923d05aa5d83496e97d121a3 (diff)
downloadopenssl-07c54e598ce8a15c08abcfcae939bdf8f017dae3.tar.gz
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@oracle.com> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/4064)
Diffstat (limited to 'doc')
-rw-r--r--doc/man3/RSA_get0_key.pod4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/man3/RSA_get0_key.pod b/doc/man3/RSA_get0_key.pod
index 7810ba0e95..55a39a3105 100644
--- a/doc/man3/RSA_get0_key.pod
+++ b/doc/man3/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