Crypt::...Version(3)

🌸 NAME 🌸

okay so bestie, this whole page is about Crypt::SSLeay::Version β€” it lives in the User Contributed Perl Documentation section, and it's literally here to hand you OpenSSL version info. Periodt. πŸ’…


✨ 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 πŸ¦‹

It exposes the info that SSLeay_version provides β€” the docs link is https://www.openssl.org/docs/crypto/SSLeay_version.html. No cap, that's the whole vibe. πŸ’–

πŸŽ€ EXPORTS πŸŽ€

By default, the module exports nothing. You can ask for each subroutine bloew to be exported to your namespace. Yep, bloew β€” we're keeping that exactly as the original says it. 🫢

πŸ‘‘ 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, because version information is packed into specific nibbles β€” see crypto/opensslv.h in the OpenSSL source and OpenSSL::Versions at https://metacpan.org/pod/OpenSSL::Versions for the explanation.

πŸ’œ AUTHOR πŸ’œ

A. Sinan Unur β€” "<nanis@cpan.org>"

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 at http://www.perlfoundation.org/artistic_license_2_0. πŸ’…


πŸ’– cute sign-off: source/version is perl v5.42.0, date is 2024-03-04, and the footer label is Crypt::...Version(3). bye bestie, mwah! πŸ’–