Skip Menu |

This queue is for tickets about the Net-SSLeay CPAN distribution.

Report information
The Basics
Id: 123821
Status: resolved
Priority: 0/
Queue: Net-SSLeay

People
Owner: MIKEM [...] cpan.org
Requestors: hvn [...] open.com.au
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: 1.83



Subject: Patch: Add constants and OpenSSL_version methods
Date: Wed, 6 Dec 2017 01:18:13 +0200
To: bug-Net-SSLeay [...] rt.cpan.org
From: Heikki Vatiainen <hvn [...] open.com.au>
This patch adds two new functions introduced in OpenSSL 1.1.0, a number of constants and a couple of const qualifiers to SSLeay.xs. Tests and documentation .pod were also updated. Please consider including these in next release. Thanks, Heikki * Added const qualifiers to SSLeay.xs to match updated function definitions in OpenSSL 1.1.0. * Added OpenSSL version and build related method functions introduced in OpenSSL 1.1.0 - OpenSSL_version_num - OpenSSL_version Added constants for OpenSSL_version and SSLeay_version: - OPENSSL_VERSION - OPENSSL_CFLAGS - OPENSSL_BUILT_ON - OPENSSL_PLATFORM - OPENSSL_DIR - OPENSSL_ENGINES_DIR - SSLEAY_VERSION - SSLEAY_CFLAGS - SSLEAY_BUILT_ON - SSLEAY_PLATFORM - SSLEAY_DIR Updated pod entry for SSLeay_version to use only constants because the actual values changed in OpenSSL 1.1.0. * Added constants for CTX_set_session_cache_mode and CTX_get_session_cache_mode. Updated pod to recommend using constants over hardcoded values. - SSL_SESS_CACHE_OFF - SSL_SESS_CACHE_CLIENT - SSL_SESS_CACHE_SERVER - SSL_SESS_CACHE_BOTH - SSL_SESS_CACHE_NO_AUTO_CLEAR - SSL_SESS_CACHE_NO_INTERNAL_LOOKUP - SSL_SESS_CACHE_NO_INTERNAL_STORE - SSL_SESS_CACHE_NO_INTERNAL * Added constants for CTX_set_options and CTX_get_options. Updated pod to recommend using constants over hardcoded values. These options include some that are specific to LibreSSL or upcoming OpenSSL 1.1.1. - SSL_OP_ALLOW_NO_DHE_KEX - SSL_OP_NO_CLIENT_RENEGOTIATION - SSL_OP_NO_ENCRYPT_THEN_MAC - SSL_OP_NO_RENEGOTIATION - SSL_OP_NO_SSL_MASK - SSL_OP_PRIORITIZE_CHACHA - SSL_OP_SAFARI_ECDHE_ECDSA_BUG - SSL_OP_TLSEXT_PADDING -- Heikki Vatiainen <hvn@open.com.au>

Message body is not shown because sender requested not to inline it.

Subject: Re: [rt.cpan.org #123821] Patch: Add constants and OpenSSL_version methods
Date: Wed, 06 Dec 2017 09:35:58 +1000
To: bug-Net-SSLeay [...] rt.cpan.org
From: Mike McCauley <mikem [...] airspayce.com>
Thanks Heikki, Your patch is now in SVN 508. Cheers. On Wednesday, 6 December 2017 9:18:49 AM AEST you wrote: Show quoted text
> Tue Dec 05 18:18:47 2017: Request 123821 was acted upon. > Transaction: Ticket created by hvn@open.com.au > Queue: Net-SSLeay > Subject: Patch: Add constants and OpenSSL_version methods > Broken in: (no value) > Severity: (no value) > Owner: Nobody > Requestors: hvn@open.com.au > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=123821 > > > > This patch adds two new functions introduced in OpenSSL 1.1.0, a number > of constants and a couple of const qualifiers to SSLeay.xs. Tests and > documentation .pod were also updated. > > Please consider including these in next release. > > Thanks, > Heikki > > > * Added const qualifiers to SSLeay.xs to match > updated function definitions in OpenSSL 1.1.0. > > * Added OpenSSL version and build related method functions > introduced in OpenSSL 1.1.0 > - OpenSSL_version_num > - OpenSSL_version > > Added constants for OpenSSL_version and SSLeay_version: > - OPENSSL_VERSION > - OPENSSL_CFLAGS > - OPENSSL_BUILT_ON > - OPENSSL_PLATFORM > - OPENSSL_DIR > - OPENSSL_ENGINES_DIR > > - SSLEAY_VERSION > - SSLEAY_CFLAGS > - SSLEAY_BUILT_ON > - SSLEAY_PLATFORM > - SSLEAY_DIR > > Updated pod entry for SSLeay_version to use only constants because > the actual values changed in OpenSSL 1.1.0. > > * Added constants for CTX_set_session_cache_mode and > CTX_get_session_cache_mode. Updated pod to recommend > using constants over hardcoded values. > > - SSL_SESS_CACHE_OFF > - SSL_SESS_CACHE_CLIENT > - SSL_SESS_CACHE_SERVER > - SSL_SESS_CACHE_BOTH > - SSL_SESS_CACHE_NO_AUTO_CLEAR > - SSL_SESS_CACHE_NO_INTERNAL_LOOKUP > - SSL_SESS_CACHE_NO_INTERNAL_STORE > - SSL_SESS_CACHE_NO_INTERNAL > > > * Added constants for CTX_set_options and > CTX_get_options. Updated pod to recommend > using constants over hardcoded values. > > These options include some that are specific > to LibreSSL or upcoming OpenSSL 1.1.1. > > - SSL_OP_ALLOW_NO_DHE_KEX > - SSL_OP_NO_CLIENT_RENEGOTIATION > - SSL_OP_NO_ENCRYPT_THEN_MAC > - SSL_OP_NO_RENEGOTIATION > - SSL_OP_NO_SSL_MASK > - SSL_OP_PRIORITIZE_CHACHA > - SSL_OP_SAFARI_ECDHE_ECDSA_BUG > - SSL_OP_TLSEXT_PADDING
-- Mike McCauley VK4AMM mikem@airspayce.com Airspayce Pty Ltd 9 Bulbul Place Currumbin Waters QLD 4223 Australia http://www.airspayce.com Phone +61 7 5598-7474