[openssl-commits] [openssl] OpenSSL_1_0_2-stable update
Rich Salz
rsalz at openssl.org
Fri Sep 29 16:46:12 UTC 2017
The branch OpenSSL_1_0_2-stable has been updated
via 20d2aaf22e54d07ead144c5e79fdaf6903cdbf2d (commit)
from 8372efbd2fd093f4ea9178f95b918b08fd50771e (commit)
- Log -----------------------------------------------------------------
commit 20d2aaf22e54d07ead144c5e79fdaf6903cdbf2d
Author: Hubert Kario <hkario at redhat.com>
Date: Fri Sep 29 13:27:32 2017 +0200
doc: BN_free() is NULL-safe
document that parameter to BN_free can be NULL
backport from master
Reviewed-by: Richard Levitte <levitte at openssl.org>
Reviewed-by: Rich Salz <rsalz at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4439)
-----------------------------------------------------------------------
Summary of changes:
doc/crypto/BN_new.pod | 1 +
1 file changed, 1 insertion(+)
diff --git a/doc/crypto/BN_new.pod b/doc/crypto/BN_new.pod
index ab7a105..413a1ea 100644
--- a/doc/crypto/BN_new.pod
+++ b/doc/crypto/BN_new.pod
@@ -30,6 +30,7 @@ to the value 0.
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
overwrites the data before the memory is returned to the system.
+If B<a> is NULL, nothing is done.
=head1 RETURN VALUES
More information about the openssl-commits
mailing list