summaryrefslogtreecommitdiffstats
path: root/doc/man3/OBJ_nid2obj.pod
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2018-12-03 10:59:11 +0100
committerRichard Levitte <levitte@openssl.org>2018-12-03 12:32:31 +0100
commitbe80b21d2a9c1e0d4fb920ca023e4ec225d878a7 (patch)
treeef7cabacff562bbe303967e2d334f0f79204622c /doc/man3/OBJ_nid2obj.pod
parent7b4a3515a4ddb567d48000e61d7cb640d0c5f261 (diff)
Docs: better deprecation text
Expand the text on deprecation to be more descriptive and to refer back to openssl_user_macros(7). Incidently, this required a small change in util/find-doc-nits, to have it skip over any line that isn't part of a block (i.e. that hasn't been indented with at least one space. That makes it skip over deprecation text. Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com> (Merged from https://github.com/openssl/openssl/pull/7745)
Diffstat (limited to 'doc/man3/OBJ_nid2obj.pod')
-rw-r--r--doc/man3/OBJ_nid2obj.pod6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/man3/OBJ_nid2obj.pod b/doc/man3/OBJ_nid2obj.pod
index cbf889f2c7..2b88ff1843 100644
--- a/doc/man3/OBJ_nid2obj.pod
+++ b/doc/man3/OBJ_nid2obj.pod
@@ -35,11 +35,11 @@ OBJ_dup, OBJ_txt2obj, OBJ_obj2txt, OBJ_create, OBJ_cleanup
size_t OBJ_length(const ASN1_OBJECT *obj);
const unsigned char *OBJ_get0_data(const ASN1_OBJECT *obj);
-Deprecated:
+Deprecated since OpenSSL 1.1.0, can be hidden entirely by defining
+B<OPENSSL_API_COMPAT> with a suitable version value, see
+L<openssl_user_macros(7)>:
- #if OPENSSL_API_COMPAT < 0x10100000L
void OBJ_cleanup(void)
- #endif
=head1 DESCRIPTION