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

Viktor Dukhovni openssl-users at dukhovni.org
Tue Feb 16 16:38:08 UTC 2016


> On Feb 16, 2016, at 11:17 AM, David Woodhouse <dwmw2 at infradead.org> wrote:
> 
> If a library (or loadable plugin within an application) uses OpenSSL,
> how should it clean up after itself?

I must do nothing.  That's what auto-initialization is for.  It is
wrong for libraries to initialize OpenSSL, because that can't be
done safely.  So in libraries that use OpenSSL, no OpenSSL initialization,
and no cleanup.

-- 
	Viktor.



More information about the openssl-dev mailing list