openssl and atexit

TIL:
 - linux calls atexit() callbacks when a library is unloaded, not just
at process exit
 - AIX doesn't
 - openssl 1.1 adds an atexit handler
 - openssl 1.1 has some code to try to prevent the library from really
being unloaded by inflating the dlopen reference count so its atexit
will really be available at exit.
    - https://github.com/openssl/openssl/pull/1693
    -  apparently this isn't working on AIX
 - openssl 1.1 doesn't seem to be provided by IBM or third parties on
AIX as of early 2018.

Comments

Popular posts from this blog

systemd unit for WebSphere Liberty (wlp)

Showing HTTP requests with no HTTP responses in wireshark