Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: binary MIME-Version: 1.0 X-Mailer: MIME-tools 5.427 (Entity 5.427) From: ghudson@mit.edu Subject: git commit RT-Send-CC: X-RT-Original-Encoding: iso-8859-1 Content-Length: 864 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(-)