Skip to content

Commit

Permalink
doc: add note to indicate that the OBJ_ functions were not thread saf…
Browse files Browse the repository at this point in the history
…e in 3.0

Also remove OBJ_thread from the list of non-threadsafe functions.

Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from #15713)

(cherry picked from commit b66b024)
Reviewed-by: Hugo Landau <hlandau@openssl.org>
  • Loading branch information
paulidale authored and t8m committed Nov 9, 2022
1 parent a5d27c2 commit cd0cc49
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/man7/openssl-threads.pod
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ For implicit global state or singletons, thread-safety depends on the facility.
The L<CRYPTO_secure_malloc(3)> and related API's have their own lock,
while L<CRYPTO_malloc(3)> assumes the underlying platform allocation
will do any necessary locking.
Some API's, such as L<NCONF_load(3)> and related, or L<OBJ_create(3)>
do no locking at all; this can be considered a bug.
Some API's, such as L<NCONF_load(3)> and related do no locking at all;
this can be considered a bug.

A separate, although related, issue is modifying "factory" objects
when other objects have been created from that.
Expand Down

0 comments on commit cd0cc49

Please sign in to comment.