In PKINIT, use library initializer for OpenSSL Use a library initializer to prevent multiple threads using PKINIT from concurently initializing OpenSSL functions. For cases where MT-safety is not assured by registering OpenSSL locking callbacks, this significantly lowers the odds of crashes caused by races in OpenSSL initialization. (If OpenSSL initialization functions are called by some other thread directly, crashes are still possible.) [ghudson@mit.edu: simplify code changes and commit message] https://github.com/krb5/krb5/commit/d49e9f0e14adb24e6fe129080c54a0571a39611b Author: Tomas Kuthan Committer: Greg Hudson Commit: d49e9f0e14adb24e6fe129080c54a0571a39611b Branch: master src/plugins/preauth/pkinit/pkinit_crypto_openssl.c | 25 ++++++++------------ 1 files changed, 10 insertions(+), 15 deletions(-)