MySQL 8.4.2
Source Code Documentation
openssl_version.h File Reference

Go to the source code of this file.

Macros

#define ROUTER_OPENSSL_VERSION_FULL(MAJOR, MINOR, FIX, PATCH, STATUS)
 build openssl version. More...
 
#define ROUTER_OPENSSL_VERSION(MAJOR, MINOR, FIX)    ROUTER_OPENSSL_VERSION_FULL(MAJOR, MINOR, FIX, 0, 0x0)
 build openssl version (pre-releases and stable). More...
 
#define ROUTER_OPENSSL_VERSION_STABLE(MAJOR, MINOR, FIX)    ROUTER_OPENSSL_VERSION_FULL(MAJOR, MINOR, FIX, 0, 0xf)
 build openssl version (stable only). More...
 

Macro Definition Documentation

◆ ROUTER_OPENSSL_VERSION

#define ROUTER_OPENSSL_VERSION (   MAJOR,
  MINOR,
  FIX 
)     ROUTER_OPENSSL_VERSION_FULL(MAJOR, MINOR, FIX, 0, 0x0)

build openssl version (pre-releases and stable).

See also
ROTUER_OPENSSL_VERSION_FULL

◆ ROUTER_OPENSSL_VERSION_FULL

#define ROUTER_OPENSSL_VERSION_FULL (   MAJOR,
  MINOR,
  FIX,
  PATCH,
  STATUS 
)
Value:
(((MAJOR & 0xf) << 28) | ((MINOR & 0xff) << 20) | ((FIX & 0xff) << 12) | \
((PATCH & 0xff) << 4) | (STATUS & 0xf))
constexpr unsigned int MAJOR
Index of the array correpsonding to parts of version.
Definition: clone_protocol_service.cc:256
constexpr unsigned int PATCH
Definition: clone_protocol_service.cc:258
constexpr unsigned int MINOR
Definition: clone_protocol_service.cc:257
Definition: mysql.cc:153

build openssl version.

Format : MNNFFPPS: major minor fix patch status

major : 4 bit

minor : 8 bit

fix : 8 bit

patch : 8 bit, 'a' = 0, 'b' = 1, ...

status : 4 bit, 0x0 dev, 0xf release, everything else beta

see https://www.openssl.org/docs/manmaster/man3/OPENSSL_VERSION_NUMBER.html

◆ ROUTER_OPENSSL_VERSION_STABLE

#define ROUTER_OPENSSL_VERSION_STABLE (   MAJOR,
  MINOR,
  FIX 
)     ROUTER_OPENSSL_VERSION_FULL(MAJOR, MINOR, FIX, 0, 0xf)

build openssl version (stable only).

See also
ROTUER_OPENSSL_VERSION_FULL