From d64070838ebba86f00fb3755df5d3e65106e1628 Mon Sep 17 00:00:00 2001 From: Rich Salz Date: Tue, 24 Mar 2015 10:17:37 -0400 Subject: 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 --- doc/crypto/DH_new.pod | 1 + 1 file changed, 1 insertion(+) (limited to 'doc/crypto/DH_new.pod') 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 structure. DH_free() frees the B structure and its components. The values are erased before the memory is returned to the system. +If B is NULL nothing is done. =head1 RETURN VALUES -- cgit v1.2.3