-
-
24 Apr 2014 15:45:06 UTC
- Distribution: Crypt-SSLeay
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Repository
- Issues (20)
- Testers (3036 / 1332 / 7)
- Kwalitee
Bus factor: 0- 31.60% Coverage
- License: artistic_2
- Perl: v5.6.0
- Activity
24 month- Tools
- Download (126.54KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
and 3 contributors- David Landgren
- Joshua Chamas
- Gisle Aas
- Dependencies
- LWP::Protocol::https
- MIME::Base64
- and possibly others
- Reverse dependencies
- CPAN Testers List
- Dependency graph
NAME
Crypt::SSLeay::Version - Obtain OpenSSL version information
SYNOPSIS
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.
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 seecrypto/opensslv.h
in the OpenSSL source and https://metacpan.org/pod/OpenSSL::Versions|OpenSSL::Versions for explanation.AUTHOR
A. Sinan Unur
<nanis@cpan.org>
COPYRIGHT
Copyright (C) 2014 A. Sinan Unur.
LICENSE
This program is free software; you can redistribute it and/or modify it under the terms of Artistic License 2.0.
Module Install Instructions
To install Crypt::SSLeay, copy and paste the appropriate command in to your terminal.
cpanm Crypt::SSLeay
perl -MCPAN -e shell install Crypt::SSLeay
For more information on module installation, please visit the detailed CPAN module installation guide.