public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Tom Callaway <spot@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/openssl] rebase_40beta: enable RC5 with permission from Legal
Date: Tue, 09 Jun 2026 12:43:45 GMT	[thread overview]
Message-ID: <178100902550.1.10492059487869779869.rpms-openssl-589d3ee15b61@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/openssl
Branch : rebase_40beta
Commit : 589d3ee15b6158462c84264b60d71d332de21b37
Author : Tom Callaway <spot@fedoraproject.org>
Date   : 2016-03-07T21:56:55-06:00
Stats  : +12/-15 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/openssl/c/589d3ee15b6158462c84264b60d71d332de21b37?branch=rebase_40beta

Log:
enable RC5 with permission from Legal

---
diff --git a/hobble-openssl b/hobble-openssl
index 16d148c..8750ad6 100755
--- a/hobble-openssl
+++ b/hobble-openssl
@@ -6,26 +6,21 @@ set -e
 # Clean out patent-or-otherwise-encumbered code.
 # MDC-2: 4,908,861 13/03/2007 - expired, we do not remove it but do not enable it anyway
 # IDEA:  5,214,703 07/01/2012 - expired, we do not remove it anymore
-# RC5:   5,724,428 01/11/2015
+# RC5:   5,724,428 01/11/2015 - expired, we do not remove it anymore
 # EC:    ????????? ??/??/2020
 # SRP:   ????????? ??/??/20??
 
 # Remove assembler portions of IDEA, MDC2, and RC5.
-(find crypto/rc5/asm -type f | xargs -r rm -fv)
+# (find crypto/rc5/asm -type f | xargs -r rm -fv)
 
-# RC5, SRP.
-for a in rc5 srp; do
+# SRP.
+for a in srp; do
   for c in `find crypto/$a -name "*.c" -a \! -name "*test*" -type f` ; do
 	echo Destroying $c
 	> $c
   done
 done
 
-for c in `find crypto/evp -name "*_rc5.c"`; do
-	echo Destroying $c
-	> $c
-done
-
 for c in `find crypto/bn -name "*gf2m.c"`; do
 	echo Destroying $c
 	> $c
@@ -37,11 +32,10 @@ for c in `find crypto/ec -name "ec2*.c" -o -name "ec_curve.c" -o -name "ecp_nist
 done
 
 for h in `find crypto ssl apps test -name "*.h"` ; do
-	echo Removing RC5, SRP and EC2M references from $h
+	echo Removing SRP and EC2M references from $h
 	cat $h | \
 	awk    'BEGIN {ech=1;} \
 		/^#[ \t]*ifndef.*NO_SRP/ {ech--; next;} \
-		/^#[ \t]*ifndef.*NO_RC5/ {ech--; next;} \
 		/^#[ \t]*ifndef.*NO_EC2M/ {ech--; next;} \
                 /^#[ \t]*if/ {if(ech < 1) ech--;} \
 		{if(ech>0) {;print $0};} \
@@ -50,4 +44,4 @@ for h in `find crypto ssl apps test -name "*.h"` ; do
 done
 
 # Make the makefiles happy.
-touch crypto/rc5/asm/rc5-586.pl
+# touch crypto/rc5/asm/rc5-586.pl

diff --git a/openssl.spec b/openssl.spec
index 537c698..54e1001 100644
--- a/openssl.spec
+++ b/openssl.spec
@@ -23,7 +23,7 @@
 Summary: Utilities from the general purpose cryptography library with TLS implementation
 Name: openssl
 Version: 1.0.2g
-Release: 2%{?dist}
+Release: 3%{?dist}
 Epoch: 1
 # We have to remove certain patented algorithms from the openssl source
 # tarball with the hobble-openssl script which is included below.
@@ -288,7 +288,7 @@ sslflags=enable-ec_nistp_64_gcc_128
 	--system-ciphers-file=%{_sysconfdir}/crypto-policies/back-ends/openssl.config \
 	zlib sctp enable-camellia enable-seed enable-tlsext enable-rfc3779 \
 	enable-cms enable-md2 enable-ssl2 \
-	no-mdc2 no-rc5 no-ec2m no-gost no-srp \
+	no-mdc2 enable-rc5 no-ec2m no-gost no-srp \
 	--with-krb5-flavor=MIT --enginesdir=%{_libdir}/openssl/engines \
 	--with-krb5-dir=/usr shared  ${sslarch} %{?!nofips:fips}
 
@@ -502,6 +502,9 @@ rm -rf $RPM_BUILD_ROOT/%{_libdir}/fipscanister.*
 %postun libs -p /sbin/ldconfig
 
 %changelog
+* Mon Mar  7 2016 Tom Callaway <spot@fedoraproject.org> - 1.0.2g-3
+- enable RC5
+
 * Wed Mar  2 2016 Tomáš Mráz <tmraz@redhat.com> 1.0.2g-2
 - reenable SSL2 in the build to avoid ABI break (it does not
   make the openssl vulnerable to DROWN attack)

diff --git a/sources b/sources
index 69cf09a..b732381 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-f65cb1be46b1d6364b3c779785cb323e  openssl-1.0.2g-hobbled.tar.xz
+f32fd979486600e102b77fbc1f88787c  openssl-1.0.2g-hobbled.tar.xz

                 reply	other threads:[~2026-06-09 12:43 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178100902550.1.10492059487869779869.rpms-openssl-589d3ee15b61@fedoraproject.org \
    --to=spot@fedoraproject.org \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox