mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Christian Melki <christian.melki@t2data.com>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH] openssl: Version bump. 3.3.2 -> 3.4.0
Date: Thu, 24 Oct 2024 18:13:32 +0200	[thread overview]
Message-ID: <20241024161332.570316-1-christian.melki@t2data.com> (raw)

Less scary than it looks.
https://github.com/openssl/openssl/blob/openssl-3.4.0/NEWS.md
Most issues are likely caused by deprecation of SSL_SESSION_get_time(),
SSL_SESSION_set_time() and SSL_CTX_flush_sessions() functions in favor
of their respective _ex functions.
Should be an easy fix in most cases.

A nice thing is that -not_before and -not_after for explicit
setting start and end dates of certificates has been added to req and x509 apps.

* Moved along patches with slight adjustments.

Signed-off-by: Christian Melki <christian.melki@t2data.com>
---
 .../0001-debian-targets.patch                                 | 0
 patches/{openssl-3.3.2 => openssl-3.4.0}/0002-pic.patch       | 0
 ...Configure-allow-to-enable-ktls-if-target-does-not-st.patch | 4 ++--
 .../0004-conf-Serialize-allocation-free-of-ssl_names.patch    | 0
 ...Configure-drop-fzero-call-used-regs-used-gpr-from-De.patch | 0
 patches/{openssl-3.3.2 => openssl-3.4.0}/series               | 0
 rules/openssl.make                                            | 4 ++--
 7 files changed, 4 insertions(+), 4 deletions(-)
 rename patches/{openssl-3.3.2 => openssl-3.4.0}/0001-debian-targets.patch (100%)
 rename patches/{openssl-3.3.2 => openssl-3.4.0}/0002-pic.patch (100%)
 rename patches/{openssl-3.3.2 => openssl-3.4.0}/0003-Configure-allow-to-enable-ktls-if-target-does-not-st.patch (95%)
 rename patches/{openssl-3.3.2 => openssl-3.4.0}/0004-conf-Serialize-allocation-free-of-ssl_names.patch (100%)
 rename patches/{openssl-3.3.2 => openssl-3.4.0}/0005-Configure-drop-fzero-call-used-regs-used-gpr-from-De.patch (100%)
 rename patches/{openssl-3.3.2 => openssl-3.4.0}/series (100%)

diff --git a/patches/openssl-3.3.2/0001-debian-targets.patch b/patches/openssl-3.4.0/0001-debian-targets.patch
similarity index 100%
rename from patches/openssl-3.3.2/0001-debian-targets.patch
rename to patches/openssl-3.4.0/0001-debian-targets.patch
diff --git a/patches/openssl-3.3.2/0002-pic.patch b/patches/openssl-3.4.0/0002-pic.patch
similarity index 100%
rename from patches/openssl-3.3.2/0002-pic.patch
rename to patches/openssl-3.4.0/0002-pic.patch
diff --git a/patches/openssl-3.3.2/0003-Configure-allow-to-enable-ktls-if-target-does-not-st.patch b/patches/openssl-3.4.0/0003-Configure-allow-to-enable-ktls-if-target-does-not-st.patch
similarity index 95%
rename from patches/openssl-3.3.2/0003-Configure-allow-to-enable-ktls-if-target-does-not-st.patch
rename to patches/openssl-3.4.0/0003-Configure-allow-to-enable-ktls-if-target-does-not-st.patch
index 561cca3b6..0a90f252a 100644
--- a/patches/openssl-3.3.2/0003-Configure-allow-to-enable-ktls-if-target-does-not-st.patch
+++ b/patches/openssl-3.4.0/0003-Configure-allow-to-enable-ktls-if-target-does-not-st.patch
@@ -41,10 +41,10 @@ index cba57b41273f..7fa3eeae412f 100644
      "linux-latomic" => {
          inherit_from     => [ "linux-generic32" ],
 diff --git a/Configure b/Configure
-index 238152b2901b..3c7e04a082eb 100755
+index fff97bd6fc82..2f6f7271f94e 100755
 --- a/Configure
 +++ b/Configure
-@@ -1777,7 +1777,7 @@ unless ($disabled{devcryptoeng}) {
+@@ -1813,7 +1813,7 @@ unless ($disabled{devcryptoeng}) {
  unless ($disabled{ktls}) {
      $config{ktls}="";
      my $cc = $config{CROSS_COMPILE}.$config{CC};
diff --git a/patches/openssl-3.3.2/0004-conf-Serialize-allocation-free-of-ssl_names.patch b/patches/openssl-3.4.0/0004-conf-Serialize-allocation-free-of-ssl_names.patch
similarity index 100%
rename from patches/openssl-3.3.2/0004-conf-Serialize-allocation-free-of-ssl_names.patch
rename to patches/openssl-3.4.0/0004-conf-Serialize-allocation-free-of-ssl_names.patch
diff --git a/patches/openssl-3.3.2/0005-Configure-drop-fzero-call-used-regs-used-gpr-from-De.patch b/patches/openssl-3.4.0/0005-Configure-drop-fzero-call-used-regs-used-gpr-from-De.patch
similarity index 100%
rename from patches/openssl-3.3.2/0005-Configure-drop-fzero-call-used-regs-used-gpr-from-De.patch
rename to patches/openssl-3.4.0/0005-Configure-drop-fzero-call-used-regs-used-gpr-from-De.patch
diff --git a/patches/openssl-3.3.2/series b/patches/openssl-3.4.0/series
similarity index 100%
rename from patches/openssl-3.3.2/series
rename to patches/openssl-3.4.0/series
diff --git a/rules/openssl.make b/rules/openssl.make
index b8ca897ab..3a7f47e54 100644
--- a/rules/openssl.make
+++ b/rules/openssl.make
@@ -16,8 +16,8 @@ PACKAGES-$(PTXCONF_OPENSSL) += openssl
 #
 # Paths and names
 #
-OPENSSL_VERSION		:= 3.3.2
-OPENSSL_MD5		:= 015fca2692596560b6fe8a2d8fecd84b
+OPENSSL_VERSION		:= 3.4.0
+OPENSSL_MD5		:= 34733f7be2d60ecd8bd9ddb796e182af
 OPENSSL			:= openssl-$(OPENSSL_VERSION)
 OPENSSL_SUFFIX		:= tar.gz
 OPENSSL_URL		:= \
-- 
2.34.1




                 reply	other threads:[~2024-10-24 16:14 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=20241024161332.570316-1-christian.melki@t2data.com \
    --to=christian.melki@t2data.com \
    --cc=ptxdist@pengutronix.de \
    /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