From 0dfb9398bb6493d5a56216e0c7039cb3f9fc88c6 Mon Sep 17 00:00:00 2001 From: Rich Salz Date: Tue, 24 Mar 2015 07:52:24 -0400 Subject: free NULL cleanup Start ensuring all OpenSSL "free" routines allow NULL, and remove any if check before calling them. This gets ASN1_OBJECT_free and ASN1_STRING_free. Reviewed-by: Matt Caswell --- CHANGES | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'CHANGES') diff --git a/CHANGES b/CHANGES index 5dd7d8d81b..ab5b48250c 100644 --- a/CHANGES +++ b/CHANGES @@ -71,6 +71,11 @@ Remove all but one '#ifdef undef' which is to be looked at. [Rich Salz] + *) Clean up calling of xxx_free routines. + Just like free(), fix most of the xxx_free routines to accept + NULL. Remove the non-null checks from callers. Save much code. + [Rich Salz] + *) Experimental support for a new, fast, unbiased prime candidate generator, bn_probable_prime_dh_coprime(). Not currently used by any prime generator. [Felix Laurie von Massenbach ] -- cgit v1.2.3