1Crypt::SSLeay::Version(U3s)er Contributed Perl DocumentatCiroynpt::SSLeay::Version(3)
2
3
4

NAME

6       Crypt::SSLeay::Version - Obtain OpenSSL version information
7

SYNOPSIS

9           use Crypt::SSLeay::Version qw(\
10               openssl_built_on
11               openssl_cflags
12               openssl_dir
13               openssl_platform
14               openssl_version
15               openssl_version_number
16           );
17
18           my $version = openssl_version();
19
20           if (openssl_cflags() =~ /DOPENSSL_NO_HEARTBEATS/) {
21               print "OpenSSL was compiled without heartbeats\n";
22           }
23

SUMMARY

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

EXPORTS

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

SUBROUTINES

33   openssl_built_on
34       The date of the build process in the form "built on: ..." if available
35       or ``built on: date not available'' otherwise.
36
37   openssl_cflags
38       The compiler flags set for the compilation process in the form
39       "compiler: ..." if available or "compiler: information not available"
40       otherwise.
41
42   openssl_dir
43       The "OPENSSLDIR" setting of the library build in the form "OPENSSLDIR:
44       ..." if available or "OPENSSLDIR: N/A" otherwise.
45
46   openssl_platform
47       The "Configure" target of the library build in the form "platform: ..."
48       if available or "platform: information not available" otherwise.
49
50   openssl_version
51       The version of the OpenSSL library including the release date.
52
53   openssl_version_number
54       The value of the "OPENSSL_VERSION_NUMBER" macro as an unsigned integer.
55       This value is more like a string as version information is packed into
56       specific nibbles see "crypto/opensslv.h" in the OpenSSL source and
57       <https://metacpan.org/pod/OpenSSL::Versions|OpenSSL::Versions> for
58       explanation.
59

AUTHOR

61       A. Sinan Unur "<nanis@cpan.org>"
62
64       Copyright (C) 2014 A. Sinan Unur.
65

LICENSE

67       This program is free software; you can redistribute it and/or modify it
68       under the terms of Artistic License 2.0
69       <http://www.perlfoundation.org/artistic_license_2_0>.
70
71
72
73perl v5.32.1                      2021-01-27         Crypt::SSLeay::Version(3)
Impressum