summaryrefslogtreecommitdiffstats
path: root/doc/man3
diff options
context:
space:
mode:
authorPauli <pauli@openssl.org>2021-06-24 23:51:53 +1000
committerTomas Mraz <tomas@openssl.org>2022-11-09 15:28:36 +0100
commita5d27c2907ed9658df228dc0b3b5743e20f1557f (patch)
tree21149b937e6eba68c97e6f820075e3e5a2560675 /doc/man3
parent060290e6aaf278f01826c37e3f55b8b8b95cbbb5 (diff)
doc: Document that the OBJ creation functions are now thread safe.
With the OBJ_ thread locking in place, these documentation changes are not required. This reverts commit 0218bcdd3feab456135207c140998305df73ab7b. Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/15713) (cherry picked from commit 06394a6cc7c784b46bc6d1e65a1ff39637093934) Reviewed-by: Hugo Landau <hlandau@openssl.org>
Diffstat (limited to 'doc/man3')
-rw-r--r--doc/man3/OBJ_nid2obj.pod8
1 files changed, 2 insertions, 6 deletions
diff --git a/doc/man3/OBJ_nid2obj.pod b/doc/man3/OBJ_nid2obj.pod
index 94eb6cc589..748e76a584 100644
--- a/doc/man3/OBJ_nid2obj.pod
+++ b/doc/man3/OBJ_nid2obj.pod
@@ -142,6 +142,8 @@ These functions cannot return B<const> because an B<ASN1_OBJECT> can
represent both an internal, constant, OID and a dynamically-created one.
The latter cannot be constant because it needs to be freed after use.
+These functions were not thread safe in OpenSSL 3.0 and before.
+
=head1 RETURN VALUES
OBJ_nid2obj() returns an B<ASN1_OBJECT> structure or B<NULL> is an
@@ -180,12 +182,6 @@ Create a new object directly:
obj = OBJ_txt2obj("1.2.3.4", 1);
-=head1 BUGS
-
-Neither OBJ_create() nor OBJ_add_sigid() do any locking and are thus not
-thread safe. Moreover, none of the other functions should be called while
-concurrent calls to these two functions are possible.
-
=head1 SEE ALSO
L<ERR_get_error(3)>