summaryrefslogtreecommitdiffstats
path: root/src/plugins/tls/openssl/qtlsbackend_openssl.cpp
diff options
context:
space:
mode:
authorIevgenii Meshcheriakov <[email protected]>2022-08-30 16:29:55 +0200
committerIevgenii Meshcheriakov <[email protected]>2022-09-02 17:00:23 +0200
commit1c217ba6f746e8fe14b02a94d328c9899c1a5832 (patch)
tree3f6d8522db86be8dc532ae211b6bd14d17ea5685 /src/plugins/tls/openssl/qtlsbackend_openssl.cpp
parentaed7b5f3701ff51d088bc80c60b6bd4675a01077 (diff)
TLS backend OpenSSL: Use function-static variable for symbol loading
Replace a combination of a mutex, atomic variable, and another variable by a function-local variable initialized by lambda. C++17 standard guarantees that the lambda is called only once and that any other callers will waiting for initialization to complete. Task-number: QTBUG-103559 Change-Id: If9af8584e648ddb9ec518498ce035105e52413a2 Reviewed-by: MÃ¥rten Nordheim <[email protected]> Reviewed-by: Timur Pocheptsov <[email protected]>
Diffstat (limited to 'src/plugins/tls/openssl/qtlsbackend_openssl.cpp')
0 files changed, 0 insertions, 0 deletions