Source: rust-rustls
Version: 0.23.40+ds-1
Severity: wishlist

I'd like to upgrade rust-asn1 to 0.24.1, because recent upstream 
versions of python-cryptography require that.  However, at the moment 
that would break rust-rustls.  Would you please apply this patch, which 
builds and passes autopkgtests?

Thanks,

-- 
Colin Watson (he/him)                              [[email protected]]
>From aaf2c0eb89d4d58084f02b62811cae5e7c272e7b Mon Sep 17 00:00:00 2001
From: Colin Watson <[email protected]>
Date: Tue, 2 Jun 2026 17:19:18 +0100
Subject: [PATCH] Accept asn1 0.24.*

---
 debian/patches/1001_asn1.patch      | 6 +++---
 debian/patches/2002_aws-lc-rs.patch | 2 +-
 debian/patches/2005_no_bench.patch  | 2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/debian/patches/1001_asn1.patch b/debian/patches/1001_asn1.patch
index 2f57c727..031317ec 100644
--- a/debian/patches/1001_asn1.patch
+++ b/debian/patches/1001_asn1.patch
@@ -1,7 +1,7 @@
-Description: accept newer minor version of crate asn1
+Description: accept newer minor versions of crate asn1
 Author: Jonas Smedegaard <[email protected]>
 Bug-Debian: https://bugs.debian.org/1119933
-Last-Update: 2025-11-05
+Last-Update: 2026-06-02
 ---
 This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
 --- a/Cargo.toml
@@ -11,7 +11,7 @@ This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
  [workspace.dependencies]
  anyhow = "1.0.73"
 -asn1 = "0.22"
-+asn1 = ">= 0.22, <= 0.23"
++asn1 = ">= 0.22, < 0.25"
  async-trait = "0.1.74"
  aws-lc-rs = { version = "1.14", default-features = false }
  base64 = "0.22"
diff --git a/debian/patches/2002_aws-lc-rs.patch b/debian/patches/2002_aws-lc-rs.patch
index db3c71d6..0adccd17 100644
--- a/debian/patches/2002_aws-lc-rs.patch
+++ b/debian/patches/2002_aws-lc-rs.patch
@@ -88,7 +88,7 @@ This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
    # rustls cryptography provider for fuzzing
 @@ -43,7 +41,6 @@
  anyhow = "1.0.73"
- asn1 = ">= 0.22, <= 0.23"
+ asn1 = ">= 0.22, < 0.25"
  async-trait = "0.1.74"
 -aws-lc-rs = { version = "1.14", default-features = false }
  base64 = "0.22"
diff --git a/debian/patches/2005_no_bench.patch b/debian/patches/2005_no_bench.patch
index 4d74f092..72671636 100644
--- a/debian/patches/2005_no_bench.patch
+++ b/debian/patches/2005_no_bench.patch
@@ -25,7 +25,7 @@ This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
    "rustls-fuzzing-provider",
  ]
 @@ -38,7 +34,6 @@
- asn1 = ">= 0.22, <= 0.23"
+ asn1 = ">= 0.22, < 0.25"
  async-trait = "0.1.74"
  base64 = "0.22"
 -bencher = "0.1.5"
-- 
2.53.0

Reply via email to