]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
DOC: clarify OPENSSL_API_COMPAT
authorRichard Levitte <levitte@openssl.org>
Wed, 30 Jun 2021 04:31:58 +0000 (06:31 +0200)
committerRichard Levitte <levitte@openssl.org>
Thu, 1 Jul 2021 07:19:54 +0000 (09:19 +0200)
Fixes #15928

Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15956)

doc/man7/openssl_user_macros.pod.in

index 33969e24766154081da6487f873c84a96831feae..ec99da594fffed34c2caab71a1da9baf39859dea 100644 (file)
@@ -74,16 +74,18 @@ minor and patch components of the version number.  For example:
 
 =back
 
-If not set, this macro will default to
+If B<OPENSSL_API_COMPAT> is undefined, this default value is used in its
+place:
 C<{- join('', map { my @x = split /=/,$_; $x[1] }
               grep /^OPENSSL_CONFIGURED_API=/, @{$config{openssl_api_defines} // []})
      || '0x00000000L'
-  -}>.
+  -}>
 
 =item B<OPENSSL_NO_DEPRECATED>
 
 If this macro is defined, all deprecated public symbols in all OpenSSL
 versions up to and including the version given by B<OPENSSL_API_COMPAT>
+(or the default value given above, when B<OPENSSL_API_COMPAT> isn't defined)
 will be hidden.
 
 =back