mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] openssl: Version bump. 3.3.2 -> 3.4.0
@ 2024-10-24 16:13 Christian Melki
  2024-10-30  8:00 ` [ptxdist] [APPLIED] " Michael Olbrich
  0 siblings, 1 reply; 2+ messages in thread
From: Christian Melki @ 2024-10-24 16:13 UTC (permalink / raw)
  To: ptxdist

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




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ptxdist] [APPLIED] openssl: Version bump. 3.3.2 -> 3.4.0
  2024-10-24 16:13 [ptxdist] [PATCH] openssl: Version bump. 3.3.2 -> 3.4.0 Christian Melki
@ 2024-10-30  8:00 ` Michael Olbrich
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Olbrich @ 2024-10-30  8:00 UTC (permalink / raw)
  To: ptxdist; +Cc: Christian Melki

Thanks, applied as e24aed1975243b91744a3ae3f08b7d9bb10ecff2.

Michael

[sent from post-receive hook]

On Wed, 30 Oct 2024 09:00:43 +0100, Christian Melki <christian.melki@t2data.com> wrote:
> 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>
> Message-Id: <20241024161332.570316-1-christian.melki@t2data.com>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> 
> 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 561cca3b6987..0a90f252aa61 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 b8ca897ab58b..3a7f47e54a5c 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		:= \



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-10-30  8:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-10-24 16:13 [ptxdist] [PATCH] openssl: Version bump. 3.3.2 -> 3.4.0 Christian Melki
2024-10-30  8:00 ` [ptxdist] [APPLIED] " Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox