diff options
author | Hubert Kario <hkario@redhat.com> | 2017-09-29 13:27:32 +0200 |
---|---|---|
committer | Hubert Kario <hkario@redhat.com> | 2017-09-29 13:27:32 +0200 |
commit | 20d2aaf22e54d07ead144c5e79fdaf6903cdbf2d (patch) | |
tree | d30074f14919278f6833aa5b639de3e607a6423e /doc | |
parent | 8372efbd2fd093f4ea9178f95b918b08fd50771e (diff) |
doc: BN_free() is NULL-safe
document that parameter to BN_free can be NULL
backport from master
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4439)
Diffstat (limited to 'doc')
-rw-r--r-- | doc/crypto/BN_new.pod | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/crypto/BN_new.pod b/doc/crypto/BN_new.pod index ab7a105e3a..413a1ea842 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 |