openssl::version

Function number

source
pub fn number() -> i64
Expand description

OPENSSL_VERSION_NUMBER is a numeric release version identifier:

MNNFFPPS: major minor fix patch status

The status nibble has one of the values 0 for development, 1 to e for betas 1 to 14, and f for release.

for example

0x000906000 == 0.9.6 dev 0x000906023 == 0.9.6b beta 3 0x00090605f == 0.9.6e release

This corresponds to OpenSSL_version_num.