opensslv.h 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. /*
  2. * WARNING: do not edit!
  3. * Generated by makefile from include\openssl\opensslv.h.in
  4. *
  5. * Copyright 1999-2025 The OpenSSL Project Authors. All Rights Reserved.
  6. *
  7. * Licensed under the Apache License 2.0 (the "License"). You may not use
  8. * this file except in compliance with the License. You can obtain a copy
  9. * in the file LICENSE in the source distribution or at
  10. * https://www.openssl.org/source/license.html
  11. */
  12. #ifndef OPENSSL_OPENSSLV_H
  13. #define OPENSSL_OPENSSLV_H
  14. #pragma once
  15. #ifdef __cplusplus
  16. extern "C" {
  17. #endif
  18. /*
  19. * SECTION 1: VERSION DATA. These will change for each release
  20. */
  21. /*
  22. * Base version macros
  23. *
  24. * These macros express version number MAJOR.MINOR.PATCH exactly
  25. */
  26. /* clang-format off */
  27. # define OPENSSL_VERSION_MAJOR 3
  28. /* clang-format on */
  29. /* clang-format off */
  30. # define OPENSSL_VERSION_MINOR 6
  31. /* clang-format on */
  32. /* clang-format off */
  33. # define OPENSSL_VERSION_PATCH 1
  34. /* clang-format on */
  35. /*
  36. * Additional version information
  37. *
  38. * These are also part of the new version scheme, but aren't part
  39. * of the version number itself.
  40. */
  41. /* Could be: #define OPENSSL_VERSION_PRE_RELEASE "-alpha.1" */
  42. /* clang-format off */
  43. # define OPENSSL_VERSION_PRE_RELEASE ""
  44. /* clang-format on */
  45. /* Could be: #define OPENSSL_VERSION_BUILD_METADATA "+fips" */
  46. /* Could be: #define OPENSSL_VERSION_BUILD_METADATA "+vendor.1" */
  47. /* clang-format off */
  48. # define OPENSSL_VERSION_BUILD_METADATA ""
  49. /* clang-format on */
  50. /*
  51. * Note: The OpenSSL Project will never define OPENSSL_VERSION_BUILD_METADATA
  52. * to be anything but the empty string. Its use is entirely reserved for
  53. * others
  54. */
  55. /*
  56. * Shared library version
  57. *
  58. * This is strictly to express ABI version, which may or may not
  59. * be related to the API version expressed with the macros above.
  60. * This is defined in free form.
  61. */
  62. /* clang-format off */
  63. # define OPENSSL_SHLIB_VERSION 3
  64. /* clang-format on */
  65. /*
  66. * SECTION 2: USEFUL MACROS
  67. */
  68. /* For checking general API compatibility when preprocessing */
  69. #define OPENSSL_VERSION_PREREQ(maj, min) \
  70. ((OPENSSL_VERSION_MAJOR << 16) + OPENSSL_VERSION_MINOR >= ((maj) << 16) + (min))
  71. /*
  72. * Macros to get the version in easily digested string form, both the short
  73. * "MAJOR.MINOR.PATCH" variant (where MAJOR, MINOR and PATCH are replaced
  74. * with the values from the corresponding OPENSSL_VERSION_ macros) and the
  75. * longer variant with OPENSSL_VERSION_PRE_RELEASE_STR and
  76. * OPENSSL_VERSION_BUILD_METADATA_STR appended.
  77. */
  78. /* clang-format off */
  79. # define OPENSSL_VERSION_STR "3.6.1"
  80. /* clang-format on */
  81. /* clang-format off */
  82. # define OPENSSL_FULL_VERSION_STR "3.6.1"
  83. /* clang-format on */
  84. /*
  85. * SECTION 3: ADDITIONAL METADATA
  86. *
  87. * These strings are defined separately to allow them to be parsable.
  88. */
  89. /* clang-format off */
  90. # define OPENSSL_RELEASE_DATE "27 Jan 2026"
  91. /* clang-format on */
  92. /*
  93. * SECTION 4: BACKWARD COMPATIBILITY
  94. */
  95. /* clang-format off */
  96. # define OPENSSL_VERSION_TEXT "OpenSSL 3.6.1 27 Jan 2026"
  97. /* clang-format on */
  98. /* clang-format off */
  99. /* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PP0L */
  100. # define OPENSSL_VERSION_NUMBER \
  101. ( (OPENSSL_VERSION_MAJOR<<28) \
  102. |(OPENSSL_VERSION_MINOR<<20) \
  103. |(OPENSSL_VERSION_PATCH<<4) \
  104. |0x0L )
  105. /* clang-format on */
  106. #ifdef __cplusplus
  107. }
  108. #endif
  109. #include <openssl/macros.h>
  110. #ifndef OPENSSL_NO_DEPRECATED_3_0
  111. #define HEADER_OPENSSLV_H
  112. #endif
  113. #endif /* OPENSSL_OPENSSLV_H */