Prevent OpenSSL unload at process exit (dotnet/corefx#38936)
authorJeremy Barton <jbarton@microsoft.com>
Wed, 26 Jun 2019 22:07:46 +0000 (15:07 -0700)
committerStephen Toub <stoub@microsoft.com>
Wed, 26 Jun 2019 22:07:46 +0000 (18:07 -0400)
commit67c382608ad50930665a0097f1a79f40131d5622
tree12c61e2613eb156500899af36e279102a7325fa1
parentf37af3cdbe571a04f4e7165285850ea9f45d401c
Prevent OpenSSL unload at process exit (dotnet/corefx#38936)

* Set OPENSSL_INIT_NO_ATEXIT to prevent shutdown errors from crashing on string lookup

* Fix compilation with 1.1.0 headers

* Remove semi-redundant define of OPENSSL_INIT_NO_ATEXIT

Commit migrated from https://github.com/dotnet/corefx/commit/324f8ee8c2b0bb5ec316421159f5d3a10f6b6908
src/libraries/Native/Unix/System.Security.Cryptography.Native/openssl.c