[openssl-dev] About multi-thread unsafe for APIs defined in crypto/objects/obj_dat.c

Yun Jiang yun.jiang at realvnc.com
Tue Jan 23 21:45:12 UTC 2018


The APIs defined in the file crypto/objects/obj_dat.c share some static global variables defined in the file without locking, which makes the APIs in this file not multi-thread safe even if the locking callbacks are set. In addition, the APIs in this file are also used by the other OpenSSL APIs, which makes the following OpenSSL documentation statement invalid (https://www.openssl.org/docs/man1.0.2/crypto/threads.html)


"OpenSSL can safely be used in multi-threaded applications provided that at least two callback functions are set, locking_function and threadid_func."


Is there any planning to fix this issue?


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mta.openssl.org/pipermail/openssl-dev/attachments/20180123/e017b1b3/attachment.html>


More information about the openssl-dev mailing list