diff options
author | Rich Salz <rsalz@akamai.com> | 2015-03-24 15:17:37 +0100 |
---|---|---|
committer | Rich Salz <rsalz@akamai.com> | 2015-03-25 04:17:16 +0100 |
commit | d64070838ebba86f00fb3755df5d3e65106e1628 (patch) | |
tree | def90b3063d9ebe0f53920604d02b9786216e327 /doc/crypto/DH_new.pod | |
parent | update ordinals (diff) | |
download | openssl-d64070838ebba86f00fb3755df5d3e65106e1628.tar.xz openssl-d64070838ebba86f00fb3755df5d3e65106e1628.zip |
free NULL cleanup
Start ensuring all OpenSSL "free" routines allow NULL, and remove
any if check before calling them.
This gets DH_free, DSA_free, RSA_free
Reviewed-by: Matt Caswell <matt@openssl.org>
Diffstat (limited to 'doc/crypto/DH_new.pod')
-rw-r--r-- | doc/crypto/DH_new.pod | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/crypto/DH_new.pod b/doc/crypto/DH_new.pod index 60c930093e..6245e4adaf 100644 --- a/doc/crypto/DH_new.pod +++ b/doc/crypto/DH_new.pod @@ -18,6 +18,7 @@ DH_new() allocates and initializes a B<DH> structure. DH_free() frees the B<DH> structure and its components. The values are erased before the memory is returned to the system. +If B<dh> is NULL nothing is done. =head1 RETURN VALUES |