[openssl] master update
Richard Levitte
levitte at openssl.org
Wed Mar 20 09:29:57 UTC 2019
The branch master has been updated
via 138ef774fedb567b29d6e5a96541a396cadc6135 (commit)
from ce9b996409fbd8a34ccb21dc5785216d7e6a830b (commit)
- Log -----------------------------------------------------------------
commit 138ef774fedb567b29d6e5a96541a396cadc6135
Author: Shane Lontis <shane.lontis at oracle.com>
Date: Wed Mar 20 08:13:55 2019 +1000
Updated doc for BN_clear, BN_CTX_end when param is NULL
Reviewed-by: Paul Dale <paul.dale at oracle.com>
Reviewed-by: Richard Levitte <levitte at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/8532)
-----------------------------------------------------------------------
Summary of changes:
doc/man3/BN_CTX_start.pod | 1 +
doc/man3/BN_new.pod | 1 +
2 files changed, 2 insertions(+)
diff --git a/doc/man3/BN_CTX_start.pod b/doc/man3/BN_CTX_start.pod
index bf3a8b5..d4780fe 100644
--- a/doc/man3/BN_CTX_start.pod
+++ b/doc/man3/BN_CTX_start.pod
@@ -27,6 +27,7 @@ calls must be made before calling any other functions that use the
B<ctx> as an argument.
Finally, BN_CTX_end() must be called before returning from the function.
+If B<ctx> is NULL, nothing is done.
When BN_CTX_end() is called, the B<BIGNUM> pointers obtained from
BN_CTX_get() become invalid.
diff --git a/doc/man3/BN_new.pod b/doc/man3/BN_new.pod
index e3800b8..e7269e0 100644
--- a/doc/man3/BN_new.pod
+++ b/doc/man3/BN_new.pod
@@ -27,6 +27,7 @@ OPENSSL_secure_malloc(3) is used to store the value.
BN_clear() is used to destroy sensitive data such as keys when they
are no longer needed. It erases the memory used by B<a> and sets it
to the value 0.
+If B<a> is NULL, nothing is done.
BN_free() frees the components of the B<BIGNUM>, and if it was created
by BN_new(), also the structure itself. BN_clear_free() additionally
More information about the openssl-commits
mailing list