Crypt::SSLeay::Version(3pm)

Crypt::SSLeay::Version3pm

Obtain openssl version information

Usage

    use Crypt::SSLeay::Version qw(\
        openssl_built_on
        openssl_cflags
        openssl_dir
        openssl_platform
        openssl_version
        openssl_version_number
    );
    my $version = openssl_version();
    if (openssl_cflags() =~ /DOPENSSL_NO_HEARTBEATS/) {
        print "OpenSSL was compiled without heartbeats\n";
    }

Summary

Exposes information provided by SSLeay_version <https://www.openssl.org/docs/crypto/SSLeay_version.html>.

Exports

By default, the module exports nothing. You can ask for each subroutine bloew to be exported to your namespace.

Subroutines

openssl_built_on

The date of the build process in the form "built on: ..." if available or ``built on: date not available'' otherwise.

openssl_cflags

The compiler flags set for the compilation process in the form "compiler: ..." if available or "compiler: information not available" otherwise.

openssl_dir

The "OPENSSLDIR" setting of the library build in the form "OPENSSLDIR: ..." if available or "OPENSSLDIR: N/A" otherwise.

openssl_platform

The "Configure" target of the library build in the form "platform: ..." if available or "platform: information not available" otherwise.

openssl_version

The version of the OpenSSL library including the release date.

openssl_version_number

The value of the "OPENSSL_VERSION_NUMBER" macro as an unsigned integer. This value is more like a string as version information is packed into specific nibbles see "crypto/opensslv.h" in the OpenSSL source and <https://metacpan.org/pod/OpenSSL::Versions|OpenSSL::Versions> for explanation.

Releases

5 releases since Debian 9 (Stretch); the text changed 4 times.

  1. 9
  2. 10
  3. 11
  4. 12
  5. 13

Author

A. Sinan Unur "<[email protected]>"

License

This program is free software; you can redistribute it and/or modify it under the terms of Artistic License 2.0 <http://www.perlfoundation.org/artistic_license_2_0>.

From libcrypt-ssleay-perl 0.73.06-2+b4 in Debian 13 (Trixie). Parsed by carta from the page's man source.