[openssl-dev] shlibloadtest failure on non-Linux
Salz, Rich
rsalz at akamai.com
Tue May 9 14:03:00 UTC 2017
> doesn't test for whether this is set. I think the shlibloadtest should only test
> the dlclose() return value on if OPENSSL_USE_NODELETE is set.
Please see https://github.com/openssl/openssl/pull/3399
> 2) crypto/init.c at line 77 does "atexit(OPENSSL_cleanup)". If I try defining
> OPENSSL_USE_NODELETE then this atexit() handler is meant to cleanup on
> unload of the shared library, but this meaning of atexit() is Linux specific. It is
> not required in POSIX and the Linux manpage lists this usage under the
> "Linux notes" section.
Does changing the guard to this work?
#if !defined(OPENSSL_SYS_UEFI) && !defined(OPENSSL_SYS_QNX)
More information about the openssl-dev
mailing list