GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Crypt::SSLeay::Version(3) User Contributed Perl Documentation Crypt::SSLeay::Version(3)

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

    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";
    }

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

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

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

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

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

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

The version of the OpenSSL library including the release date.

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.

A. Sinan Unur "<nanis@cpan.org>"

Copyright (C) 2014 A. Sinan Unur.

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>.
2014-04-22 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.