]> git.ipfire.org Git - thirdparty/curl.git/commit
mbedtls: call psa_crypt_init() in global init
authorStefan Eissing <stefan@eissing.org>
Thu, 7 Nov 2024 09:26:03 +0000 (10:26 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 7 Nov 2024 12:14:41 +0000 (13:14 +0100)
commitbcf8a848818ca0ca8d292c51c0ddeb93fa17fe62
tree90f013085bc02cbc8b3fce71d2066971e9a285b1
parentf5c616930b5cf148b1b2632da4f5963ff48bdf88
mbedtls: call psa_crypt_init() in global init

Run mbedtls' psa_crypt_init() in the general global init, optionally
protected by mbedtls locks when available.

CI: when building mbedtls, enabled thread safety

Reported-by: wxiaoguang on github
Fixes #15500
Closes #15505
.github/workflows/linux.yml
lib/vtls/mbedtls.c