|
|
|||
File indexing completed on 2026-09-23 09:19:46
0001 /* 0002 * WARNING: do not edit! 0003 * Generated by Makefile from include/openssl/opensslv.h.in 0004 * 0005 * Copyright 1999-2025 The OpenSSL Project Authors. All Rights Reserved. 0006 * 0007 * Licensed under the Apache License 2.0 (the "License"). You may not use 0008 * this file except in compliance with the License. You can obtain a copy 0009 * in the file LICENSE in the source distribution or at 0010 * https://www.openssl.org/source/license.html 0011 */ 0012 0013 #ifndef OPENSSL_OPENSSLV_H 0014 #define OPENSSL_OPENSSLV_H 0015 #pragma once 0016 0017 #ifdef __cplusplus 0018 extern "C" { 0019 #endif 0020 0021 /* 0022 * SECTION 1: VERSION DATA. These will change for each release 0023 */ 0024 0025 /* 0026 * Base version macros 0027 * 0028 * These macros express version number MAJOR.MINOR.PATCH exactly 0029 */ 0030 /* clang-format off */ 0031 # define OPENSSL_VERSION_MAJOR 3 0032 /* clang-format on */ 0033 /* clang-format off */ 0034 # define OPENSSL_VERSION_MINOR 6 0035 /* clang-format on */ 0036 /* clang-format off */ 0037 # define OPENSSL_VERSION_PATCH 1 0038 /* clang-format on */ 0039 0040 /* 0041 * Additional version information 0042 * 0043 * These are also part of the new version scheme, but aren't part 0044 * of the version number itself. 0045 */ 0046 0047 /* Could be: #define OPENSSL_VERSION_PRE_RELEASE "-alpha.1" */ 0048 /* clang-format off */ 0049 # define OPENSSL_VERSION_PRE_RELEASE "" 0050 /* clang-format on */ 0051 /* Could be: #define OPENSSL_VERSION_BUILD_METADATA "+fips" */ 0052 /* Could be: #define OPENSSL_VERSION_BUILD_METADATA "+vendor.1" */ 0053 /* clang-format off */ 0054 # define OPENSSL_VERSION_BUILD_METADATA "" 0055 /* clang-format on */ 0056 0057 /* 0058 * Note: The OpenSSL Project will never define OPENSSL_VERSION_BUILD_METADATA 0059 * to be anything but the empty string. Its use is entirely reserved for 0060 * others 0061 */ 0062 0063 /* 0064 * Shared library version 0065 * 0066 * This is strictly to express ABI version, which may or may not 0067 * be related to the API version expressed with the macros above. 0068 * This is defined in free form. 0069 */ 0070 /* clang-format off */ 0071 # define OPENSSL_SHLIB_VERSION 3 0072 /* clang-format on */ 0073 0074 /* 0075 * SECTION 2: USEFUL MACROS 0076 */ 0077 0078 /* For checking general API compatibility when preprocessing */ 0079 #define OPENSSL_VERSION_PREREQ(maj, min) \ 0080 ((OPENSSL_VERSION_MAJOR << 16) + OPENSSL_VERSION_MINOR >= ((maj) << 16) + (min)) 0081 0082 /* 0083 * Macros to get the version in easily digested string form, both the short 0084 * "MAJOR.MINOR.PATCH" variant (where MAJOR, MINOR and PATCH are replaced 0085 * with the values from the corresponding OPENSSL_VERSION_ macros) and the 0086 * longer variant with OPENSSL_VERSION_PRE_RELEASE_STR and 0087 * OPENSSL_VERSION_BUILD_METADATA_STR appended. 0088 */ 0089 /* clang-format off */ 0090 # define OPENSSL_VERSION_STR "3.6.1" 0091 /* clang-format on */ 0092 /* clang-format off */ 0093 # define OPENSSL_FULL_VERSION_STR "3.6.1" 0094 /* clang-format on */ 0095 0096 /* 0097 * SECTION 3: ADDITIONAL METADATA 0098 * 0099 * These strings are defined separately to allow them to be parsable. 0100 */ 0101 /* clang-format off */ 0102 # define OPENSSL_RELEASE_DATE "27 Jan 2026" 0103 /* clang-format on */ 0104 0105 /* 0106 * SECTION 4: BACKWARD COMPATIBILITY 0107 */ 0108 0109 /* clang-format off */ 0110 # define OPENSSL_VERSION_TEXT "OpenSSL 3.6.1 27 Jan 2026" 0111 /* clang-format on */ 0112 0113 /* clang-format off */ 0114 /* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PP0L */ 0115 # define OPENSSL_VERSION_NUMBER \ 0116 ( (OPENSSL_VERSION_MAJOR<<28) \ 0117 |(OPENSSL_VERSION_MINOR<<20) \ 0118 |(OPENSSL_VERSION_PATCH<<4) \ 0119 |0x0L ) 0120 /* clang-format on */ 0121 0122 #ifdef __cplusplus 0123 } 0124 #endif 0125 0126 #include <openssl/macros.h> 0127 #ifndef OPENSSL_NO_DEPRECATED_3_0 0128 #define HEADER_OPENSSLV_H 0129 #endif 0130 0131 #endif /* OPENSSL_OPENSSLV_H */
| [ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
|
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
|