MySQL 8.0.29
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, 0xf)
 build openssl version. More...
 

Macro Definition Documentation

◆ ROUTER_OPENSSL_VERSION

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

build openssl version.

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))
Definition: mysql.cc:139

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