Skip Menu |

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

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

People
Owner: MIKEM [...] cpan.org
Requestors: net-ssleay [...] occam.eroen.eu
Cc:
AdminCc:

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



Subject: Net-SSLeay svn revision -r481 causes incompatibility with openssl 1.1.0 - dereferencing incomplete type 'RSA {aka struct rsa_st}'
Date: Tue, 3 Jan 2017 08:45:41 +0100
To: bug-Net-SSLeay [...] rt.cpan.org
From: eroen <net-ssleay [...] occam.eroen.eu>
Hi! I ran into this on current trunk while I was looking into a different issue: ... In file included from /usr/lib64/perl5/5.24.1/x86_64-linux/CORE/perl.h:5562:0, from SSLeay.xs:141: SSLeay.xs: In function 'XS_Net__SSLeay_RSA_get_key_parameters': SSLeay.xs:4984:21: error: dereferencing pointer to incomplete type 'RSA {aka struct rsa_st}' XPUSHs(bn2sv(rsa->n)); ^ ... This code was introduced in the latest svn revision, r481. Previous revisions build successfully with openssl 1.1.0c. From <https://wiki.openssl.org/index.php/1.1_API_Changes>: If you want to access rsa->n you now have to do something like: const BIGNUM *n; RSA_get0_key(rsa, &n, NULL, NULL); -- eroen
Subject: Re: [rt.cpan.org #119664] Net-SSLeay svn revision -r481 causes incompatibility with openssl 1.1.0 - dereferencing incomplete type 'RSA {aka struct rsa_st}'
Date: Tue, 03 Jan 2017 17:56:08 +1000
To: bug-Net-SSLeay [...] rt.cpan.org
From: Mike McCauley <mikem [...] airspayce.com>
Hello, That code has been fixed for use with later versions of openssl. New version 1.79 has now been uploaded to CPAN. Cheers. On Tuesday, January 03, 2017 02:46:02 AM you wrote: Show quoted text
> Tue Jan 03 02:46:01 2017: Request 119664 was acted upon. > Transaction: Ticket created by net-ssleay@occam.eroen.eu > Queue: Net-SSLeay > Subject: Net-SSLeay svn revision -r481 causes incompatibility with > openssl 1.1.0 - dereferencing incomplete type 'RSA {aka struct rsa_st}' > Broken in: (no value) > Severity: (no value) > Owner: Nobody > Requestors: net-ssleay@occam.eroen.eu > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=119664 > > > > Hi! > > I ran into this on current trunk while I was looking into a different issue: > > ... > In file included from > /usr/lib64/perl5/5.24.1/x86_64-linux/CORE/perl.h:5562:0, from > SSLeay.xs:141: > SSLeay.xs: In function 'XS_Net__SSLeay_RSA_get_key_parameters': > SSLeay.xs:4984:21: error: dereferencing pointer to incomplete type 'RSA {aka > struct rsa_st}' XPUSHs(bn2sv(rsa->n)); > ^ > ... > > This code was introduced in the latest svn revision, r481. Previous > revisions build successfully with openssl 1.1.0c. > > From <https://wiki.openssl.org/index.php/1.1_API_Changes>: > > If you want to access rsa->n you now have to do something like: > const BIGNUM *n; > RSA_get0_key(rsa, &n, NULL, NULL);
-- 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