[openssl-dev] OpenSSL version 1.1.0 pre release 3 published

Jouni Malinen j at w1.fi
Tue Feb 16 17:31:12 UTC 2016


On Mon, Feb 15, 2016 at 10:17:15PM +0000, Matt Caswell wrote:

> Maybe EVP_cleanup() and other similar explicit deinit functions should
> be deprecated, and do nothing in 1.1.0? The auto-deinit capability
> should handle it. That way you would not need to do anything "special"
> for 1.1.0 with "#ifdef" etc. What do you think?

That may be a reasonable approach to avoid unexpected failures with
existing users. As far as wpa_supplicant is concerned, I ran quite a bit
of valgrind testing with the OpenSSL init/deinit calls commented out.
While I did find some memory leaks, those were not caused by the OpenSSL
library itself. As such, I've already added the #ifdef based on OpenSSL
version. This has the additional benefit of marking up code for cleanup
once OpenSSL 1.0.2 support terminates in the future.

-- 
Jouni Malinen                                            PGP id EFC895FA


More information about the openssl-dev mailing list