You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

opensslv.h 3.1 kB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. /*
  2. * WARNING: do not edit!
  3. * Generated by makefile from include\openssl\opensslv.h.in
  4. *
  5. * Copyright 1999-2020 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. {
  18. #endif
  19. /*
  20. * SECTION 1: VERSION DATA. These will change for each release
  21. */
  22. /*
  23. * Base version macros
  24. *
  25. * These macros express version number MAJOR.MINOR.PATCH exactly
  26. */
  27. #define OPENSSL_VERSION_MAJOR 3
  28. #define OPENSSL_VERSION_MINOR 0
  29. #define OPENSSL_VERSION_PATCH 5
  30. /*
  31. * Additional version information
  32. *
  33. * These are also part of the new version scheme, but aren't part
  34. * of the version number itself.
  35. */
  36. /* Could be: #define OPENSSL_VERSION_PRE_RELEASE "-alpha.1" */
  37. #define OPENSSL_VERSION_PRE_RELEASE ""
  38. /* Could be: #define OPENSSL_VERSION_BUILD_METADATA "+fips" */
  39. /* Could be: #define OPENSSL_VERSION_BUILD_METADATA "+vendor.1" */
  40. #define OPENSSL_VERSION_BUILD_METADATA ""
  41. /*
  42. * Note: The OpenSSL Project will never define OPENSSL_VERSION_BUILD_METADATA
  43. * to be anything but the empty string. Its use is entirely reserved for
  44. * others
  45. */
  46. /*
  47. * Shared library version
  48. *
  49. * This is strictly to express ABI version, which may or may not
  50. * be related to the API version expressed with the macros above.
  51. * This is defined in free form.
  52. */
  53. #define OPENSSL_SHLIB_VERSION 3
  54. /*
  55. * SECTION 2: USEFUL MACROS
  56. */
  57. /* For checking general API compatibility when preprocessing */
  58. #define OPENSSL_VERSION_PREREQ(maj, min) \
  59. ((OPENSSL_VERSION_MAJOR << 16) + OPENSSL_VERSION_MINOR >= ((maj) << 16) + (min))
  60. /*
  61. * Macros to get the version in easily digested string form, both the short
  62. * "MAJOR.MINOR.PATCH" variant (where MAJOR, MINOR and PATCH are replaced
  63. * with the values from the corresponding OPENSSL_VERSION_ macros) and the
  64. * longer variant with OPENSSL_VERSION_PRE_RELEASE_STR and
  65. * OPENSSL_VERSION_BUILD_METADATA_STR appended.
  66. */
  67. #define OPENSSL_VERSION_STR "3.0.5"
  68. #define OPENSSL_FULL_VERSION_STR "3.0.5"
  69. /*
  70. * SECTION 3: ADDITIONAL METADATA
  71. *
  72. * These strings are defined separately to allow them to be parsable.
  73. */
  74. #define OPENSSL_RELEASE_DATE "5 Jul 2022"
  75. /*
  76. * SECTION 4: BACKWARD COMPATIBILITY
  77. */
  78. #define OPENSSL_VERSION_TEXT "OpenSSL 3.0.5 5 Jul 2022"
  79. /* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */
  80. #ifdef OPENSSL_VERSION_PRE_RELEASE
  81. #define _OPENSSL_VERSION_PRE_RELEASE 0x0L
  82. #else
  83. #define _OPENSSL_VERSION_PRE_RELEASE 0xfL
  84. #endif
  85. #define OPENSSL_VERSION_NUMBER \
  86. ((OPENSSL_VERSION_MAJOR << 28) | (OPENSSL_VERSION_MINOR << 20) | (OPENSSL_VERSION_PATCH << 4) | _OPENSSL_VERSION_PRE_RELEASE)
  87. #ifdef __cplusplus
  88. }
  89. #endif
  90. #include <openssl/macros.h>
  91. #ifndef OPENSSL_NO_DEPRECATED_3_0
  92. #define HEADER_OPENSSLV_H
  93. #endif
  94. #endif /* OPENSSL_OPENSSLV_H */