public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Tomas Mraz <tmraz@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/openssl] rebase_40beta: fix FIPS symbol versions
Date: Tue, 09 Jun 2026 12:44:09 GMT	[thread overview]
Message-ID: <178100904909.1.1755636852406514352.rpms-openssl-5a9377317224@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/openssl
Branch : rebase_40beta
Commit : 5a9377317224f261f2c85739ac6cec00b2d69d06
Author : Tomas Mraz <tmraz@fedoraproject.org>
Date   : 2018-03-29T18:13:54+02:00
Stats  : +51/-2 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/openssl/c/5a9377317224f261f2c85739ac6cec00b2d69d06?branch=rebase_40beta

Log:
fix FIPS symbol versions

---
diff --git a/openssl-1.1.0-fips.patch b/openssl-1.1.0-fips.patch
index d1af923..622d039 100644
--- a/openssl-1.1.0-fips.patch
+++ b/openssl-1.1.0-fips.patch
@@ -12215,6 +12215,51 @@ diff -up openssl-1.1.0h/test/dsatest.c.fips openssl-1.1.0h/test/dsatest.c
          goto end;
      }
      if (h != 2) {
+diff -up openssl-1.1.0h/util/libcrypto.num.fips openssl-1.1.0h/util/libcrypto.num
+--- openssl-1.1.0h/util/libcrypto.num.fips	2018-03-27 15:50:41.000000000 +0200
++++ openssl-1.1.0h/util/libcrypto.num	2018-03-29 18:06:26.962651662 +0200
+@@ -4232,5 +4232,40 @@ ZINT64_it
+ ZINT64_it                               4215	1_1_0f	EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION:
+ CRYPTO_secure_clear_free                4315	1_1_0g	EXIST::FUNCTION:
+ EVP_PKEY_set1_engine                    4347	1_1_0g	EXIST::FUNCTION:ENGINE
+-OCSP_resp_get0_signer                   4374	1_1_0h	EXIST::FUNCTION:OCSP
++FIPS_drbg_reseed                        4348	1_1_0g	EXIST::FUNCTION:
++FIPS_selftest_check                     4349	1_1_0g	EXIST::FUNCTION:
++FIPS_rand_set_method                    4350	1_1_0g	EXIST::FUNCTION:
++FIPS_get_default_drbg                   4351	1_1_0g	EXIST::FUNCTION:
++FIPS_drbg_set_reseed_interval           4352	1_1_0g	EXIST::FUNCTION:
++FIPS_drbg_set_app_data                  4353	1_1_0g	EXIST::FUNCTION:
++FIPS_drbg_method                        4354	1_1_0g	EXIST::FUNCTION:
++FIPS_rand_status                        4355	1_1_0g	EXIST::FUNCTION:
++FIPS_drbg_instantiate                   4356	1_1_0g	EXIST::FUNCTION:
++FIPS_drbg_set_callbacks                 4357	1_1_0g	EXIST::FUNCTION:
++FIPS_drbg_new                           4358	1_1_0g	EXIST::FUNCTION:
++FIPS_dsa_paramgen_check_g               4359	1_1_0g	EXIST::FUNCTION:
++FIPS_selftest                           4360	1_1_0g	EXIST::FUNCTION:
++FIPS_rand_set_bits                      4361	1_1_0g	EXIST::FUNCTION:
++FIPS_rand_bytes                         4362	1_1_0g	EXIST::FUNCTION:
++FIPS_drbg_get_app_data                  4363	1_1_0g	EXIST::FUNCTION:
++FIPS_selftest_failed                    4364	1_1_0g	EXIST::FUNCTION:
++FIPS_dsa_builtin_paramgen2              4365	1_1_0g	EXIST::FUNCTION:
++FIPS_rand_reset                         4366	1_1_0g	EXIST::FUNCTION:
++ERR_load_FIPS_strings                   4367	1_1_0g	EXIST::FUNCTION:
++FIPS_drbg_generate                      4368	1_1_0g	EXIST::FUNCTION:
++FIPS_drbg_uninstantiate                 4369	1_1_0g	EXIST::FUNCTION:
++FIPS_drbg_set_check_interval            4370	1_1_0g	EXIST::FUNCTION:
++FIPS_drbg_free                          4371	1_1_0g	EXIST::FUNCTION:
++FIPS_selftest_drbg_all                  4372	1_1_0g	EXIST::FUNCTION:
++FIPS_rand_get_method                    4373	1_1_0g	EXIST::FUNCTION:
++RAND_set_fips_drbg_type                 4374	1_1_0g	EXIST::FUNCTION:
++FIPS_drbg_health_check                  4375	1_1_0g	EXIST::FUNCTION:
++RAND_init_fips                          4376	1_1_0g	EXIST::FUNCTION:
++FIPS_drbg_set_rand_callbacks            4377	1_1_0g	EXIST::FUNCTION:
++FIPS_rand_seed                          4378	1_1_0g	EXIST::FUNCTION:
++FIPS_drbg_get_strength                  4379	1_1_0g	EXIST::FUNCTION:
++FIPS_rand_strength                      4380	1_1_0g	EXIST::FUNCTION:
++FIPS_drbg_get_blocklength               4381	1_1_0g	EXIST::FUNCTION:
++FIPS_drbg_init                          4382	1_1_0g	EXIST::FUNCTION:
++OCSP_resp_get0_signer                   4384	1_1_0h	EXIST::FUNCTION:OCSP
+ X509_get0_authority_key_id              4448	1_1_0h	EXIST::FUNCTION:
 diff -up openssl-1.1.0h/util/mkdef.pl.fips openssl-1.1.0h/util/mkdef.pl
 --- openssl-1.1.0h/util/mkdef.pl.fips	2018-03-27 15:50:41.000000000 +0200
 +++ openssl-1.1.0h/util/mkdef.pl	2018-03-29 14:44:24.644237065 +0200

diff --git a/openssl.spec b/openssl.spec
index 7f46ccb..caf397f 100644
--- a/openssl.spec
+++ b/openssl.spec
@@ -22,7 +22,7 @@
 Summary: Utilities from the general purpose cryptography library with TLS implementation
 Name: openssl
 Version: 1.1.0h
-Release: 1%{?dist}
+Release: 2%{?dist}
 Epoch: 1
 # We have to remove certain patented algorithms from the openssl source
 # tarball with the hobble-openssl script which is included below.
@@ -246,7 +246,8 @@ export HASHBANGPERL=/usr/bin/perl
 	no-mdc2 no-ec2m \
 	shared  ${sslarch} $RPM_OPT_FLAGS
 
-util/mkdef.pl crypto update
+# Do not run this in a production package the FIPS symbols must be patched-in
+#util/mkdef.pl crypto update
 
 make all
 
@@ -431,6 +432,9 @@ export LD_LIBRARY_PATH
 %postun libs -p /sbin/ldconfig
 
 %changelog
+* Thu Mar 29 2018 Tomáš Mráz <tmraz@redhat.com> 1.1.0h-2
+- fix FIPS symbol versions
+
 * Thu Mar 29 2018 Tomáš Mráz <tmraz@redhat.com> 1.1.0h-1
 - update to upstream version 1.1.0h
 - add Recommends for openssl-pkcs11

                 reply	other threads:[~2026-06-09 12:44 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=178100904909.1.1755636852406514352.rpms-openssl-5a9377317224@fedoraproject.org \
    --to=tmraz@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