|
||||
File indexing completed on 2025-01-18 10:05:47
0001 /* 0002 * WARNING: do not edit! 0003 * Generated by Makefile from include/openssl/opensslv.h.in 0004 * 0005 * Copyright 1999-2020 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 # define OPENSSL_VERSION_MAJOR 3 0031 # define OPENSSL_VERSION_MINOR 4 0032 # define OPENSSL_VERSION_PATCH 0 0033 0034 /* 0035 * Additional version information 0036 * 0037 * These are also part of the new version scheme, but aren't part 0038 * of the version number itself. 0039 */ 0040 0041 /* Could be: #define OPENSSL_VERSION_PRE_RELEASE "-alpha.1" */ 0042 # define OPENSSL_VERSION_PRE_RELEASE "" 0043 /* Could be: #define OPENSSL_VERSION_BUILD_METADATA "+fips" */ 0044 /* Could be: #define OPENSSL_VERSION_BUILD_METADATA "+vendor.1" */ 0045 # define OPENSSL_VERSION_BUILD_METADATA "" 0046 0047 /* 0048 * Note: The OpenSSL Project will never define OPENSSL_VERSION_BUILD_METADATA 0049 * to be anything but the empty string. Its use is entirely reserved for 0050 * others 0051 */ 0052 0053 /* 0054 * Shared library version 0055 * 0056 * This is strictly to express ABI version, which may or may not 0057 * be related to the API version expressed with the macros above. 0058 * This is defined in free form. 0059 */ 0060 # define OPENSSL_SHLIB_VERSION 3 0061 0062 /* 0063 * SECTION 2: USEFUL MACROS 0064 */ 0065 0066 /* For checking general API compatibility when preprocessing */ 0067 # define OPENSSL_VERSION_PREREQ(maj,min) \ 0068 ((OPENSSL_VERSION_MAJOR << 16) + OPENSSL_VERSION_MINOR >= ((maj) << 16) + (min)) 0069 0070 /* 0071 * Macros to get the version in easily digested string form, both the short 0072 * "MAJOR.MINOR.PATCH" variant (where MAJOR, MINOR and PATCH are replaced 0073 * with the values from the corresponding OPENSSL_VERSION_ macros) and the 0074 * longer variant with OPENSSL_VERSION_PRE_RELEASE_STR and 0075 * OPENSSL_VERSION_BUILD_METADATA_STR appended. 0076 */ 0077 # define OPENSSL_VERSION_STR "3.4.0" 0078 # define OPENSSL_FULL_VERSION_STR "3.4.0" 0079 0080 /* 0081 * SECTION 3: ADDITIONAL METADATA 0082 * 0083 * These strings are defined separately to allow them to be parsable. 0084 */ 0085 # define OPENSSL_RELEASE_DATE "22 Oct 2024" 0086 0087 /* 0088 * SECTION 4: BACKWARD COMPATIBILITY 0089 */ 0090 0091 # define OPENSSL_VERSION_TEXT "OpenSSL 3.4.0 22 Oct 2024" 0092 0093 /* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */ 0094 # ifdef OPENSSL_VERSION_PRE_RELEASE 0095 # define _OPENSSL_VERSION_PRE_RELEASE 0x0L 0096 # else 0097 # define _OPENSSL_VERSION_PRE_RELEASE 0xfL 0098 # endif 0099 # define OPENSSL_VERSION_NUMBER \ 0100 ( (OPENSSL_VERSION_MAJOR<<28) \ 0101 |(OPENSSL_VERSION_MINOR<<20) \ 0102 |(OPENSSL_VERSION_PATCH<<4) \ 0103 |_OPENSSL_VERSION_PRE_RELEASE ) 0104 0105 # ifdef __cplusplus 0106 } 0107 # endif 0108 0109 # include <openssl/macros.h> 0110 # ifndef OPENSSL_NO_DEPRECATED_3_0 0111 # define HEADER_OPENSSLV_H 0112 # endif 0113 0114 #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 |