summaryrefslogtreecommitdiff
path: root/src/lib/libc/string/wcschr.c
diff options
context:
space:
mode:
authorjsing <>2025-05-24 07:41:14 +0000
committerjsing <>2025-05-24 07:41:14 +0000
commitd75f6fd37c90033bcb088aa5518ce6263f10d56b (patch)
tree12cd3854c24e4610127fc8cdbb4d5270c910a795 /src/lib/libc/string/wcschr.c
parent19481faae98e76fb30ab33568501e385e3bcd1a3 (diff)
downloadopenbsd-d75f6fd37c90033bcb088aa5518ce6263f10d56b.tar.gz
openbsd-d75f6fd37c90033bcb088aa5518ce6263f10d56b.tar.bz2
openbsd-d75f6fd37c90033bcb088aa5518ce6263f10d56b.zip
Provide openssl_init_crypto_constructor() and invoke via a constructor.
There are a very large number of entry points to libcrypto, which means it is easy to run code prior to OPENSSL_init_crypto() being invoked. This means that CPU capability detection will not have been run, leading to poor choices with regards to the use of accelerated implementations. Now that our CPU capability detection code has been cleaned up and is safe, provide an openssl_init_crypto_constructor() that runs CPU capability detection and invoke it as a library constructor. This should only be used to invoke code that does not do memory allocation or trigger signals. ok tb@
Diffstat (limited to 'src/lib/libc/string/wcschr.c')
0 files changed, 0 insertions, 0 deletions