OPENSSL_USER_MACROS(7SSL) | OpenSSL | OPENSSL_USER_MACROS(7SSL) |
openssl_user_macros, OPENSSL_API_COMPAT, OPENSSL_NO_DEPRECATED - User defined macros
User defined macros allow the programmer to control certain aspects of what is exposed by the OpenSSL headers.
NOTE: to be effective, a user defined macro must be defined before including any header file that depends on it, either in the compilation command ("cc -DMACRO=value") or by defining the macro in source before including any headers.
Other manual pages may refer to this page when declarations depend on user defined macros.
Any version number may be given, but these numbers are the current known major deprecation points, making them the most meaningful:
For convenience, higher numbers are accepted as well, as long as feasible. For example, "0x60000000L" will work as expected. However, it is recommended to start using the second form instead:
major * 10000 + minor * 100 + patch
where major, minor and patch are the desired major, minor and patch components of the version number. For example:
If OPENSSL_API_COMPAT is undefined, this default value is used in its place: 30000
Copyright 2018-2021 The OpenSSL Project Authors. All Rights Reserved.
Licensed under the Apache License 2.0 (the "License"). You may not use this file except in compliance with the License. You can obtain a copy in the file LICENSE in the source distribution or at <https://www.openssl.org/source/license.html>.
2023-10-23 | 3.0.11 |