[packages/perl-Crypt-OpenSSL-RSA] - RSA_SSLV23_PADDING is gone in openssl 3.0.0, rel 2

baggins baggins at pld-linux.org
Fri Oct 15 22:31:55 CEST 2021


commit b679399f6caef54a07edac675e05e7dc60c29dd2
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Fri Oct 15 22:31:33 2021 +0200

    - RSA_SSLV23_PADDING is gone in openssl 3.0.0, rel 2

 openssl3.patch              | 15 +++++++++++++++
 perl-Crypt-OpenSSL-RSA.spec |  4 +++-
 2 files changed, 18 insertions(+), 1 deletion(-)
---
diff --git a/perl-Crypt-OpenSSL-RSA.spec b/perl-Crypt-OpenSSL-RSA.spec
index bda1069..34c2cf2 100644
--- a/perl-Crypt-OpenSSL-RSA.spec
+++ b/perl-Crypt-OpenSSL-RSA.spec
@@ -8,12 +8,13 @@ Summary:	Crypt::OpenSSL::RSA - RSA encoding and decoding, using the OpenSSL libr
 Summary(pl.UTF-8):	Crypt::OpenSSL::RSA - kodowanie i dekodowanie RSA przy użyciu OpenSSL
 Name:		perl-Crypt-OpenSSL-RSA
 Version:	0.31
-Release:	1
+Release:	2
 # same as perl
 License:	GPL v1+ or Artistic
 Group:		Development/Languages/Perl
 Source0:	http://www.cpan.org/modules/by-module/Crypt/%{pdir}-%{pnam}-%{version}.tar.gz
 # Source0-md5:	d33681e19d2094df7c26bc7a4509265e
+Patch0:		openssl3.patch
 URL:		https://metacpan.org/dist/Crypt-OpenSSL-RSA
 BuildRequires:	openssl-devel >= 0.9.7d
 BuildRequires:	perl-Crypt-OpenSSL-Guess >= 0.11
@@ -39,6 +40,7 @@ także na odszyfrowywanie oraz weryfikację podpisów.
 
 %prep
 %setup -q -n %{pdir}-%{pnam}-%{version}
+%patch0 -p1
 
 %build
 %{__perl} Makefile.PL \
diff --git a/openssl3.patch b/openssl3.patch
new file mode 100644
index 0000000..595a02c
--- /dev/null
+++ b/openssl3.patch
@@ -0,0 +1,15 @@
+--- Crypt-OpenSSL-RSA-0.31/RSA.xs~	2018-09-24 19:23:02.000000000 +0200
++++ Crypt-OpenSSL-RSA-0.31/RSA.xs	2021-10-15 22:28:07.598552868 +0200
+@@ -640,12 +640,6 @@
+   CODE:
+     p_rsa->padding = RSA_PKCS1_OAEP_PADDING;
+ 
+-void
+-use_sslv23_padding(p_rsa)
+-    rsaData* p_rsa;
+-  CODE:
+-    p_rsa->padding = RSA_SSLV23_PADDING;
+-
+ # Sign text. Returns the signature.
+ 
+ SV*
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-Crypt-OpenSSL-RSA.git/commitdiff/b679399f6caef54a07edac675e05e7dc60c29dd2



More information about the pld-cvs-commit mailing list