From 0cde0101e191a882d1f5f7fe6993296b3106c6f5 Mon Sep 17 00:00:00 2001 From: Arthur Gautier Date: Thu, 26 Sep 2024 20:49:40 -0700 Subject: [PATCH] x509-cert: losen the lifetime requirement for AsyncBuilder I'm not entirely sure why I introduced that lifetime in the original PR (#1280). --- x509-cert/src/builder.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/x509-cert/src/builder.rs b/x509-cert/src/builder.rs index 71f2b97a6..3e0d089a1 100644 --- a/x509-cert/src/builder.rs +++ b/x509-cert/src/builder.rs @@ -466,7 +466,7 @@ pub trait AsyncBuilder: Sized { S: AsyncSigner, S: Keypair + DynSignatureAlgorithmIdentifier, S::VerifyingKey: EncodePublicKey, - Signature: SignatureBitStringEncoding + 'static, + Signature: SignatureBitStringEncoding, { let blob = self.finalize(signer)?; @@ -485,7 +485,7 @@ pub trait AsyncBuilder: Sized { S: AsyncRandomizedSigner, S: Keypair + DynSignatureAlgorithmIdentifier, S::VerifyingKey: EncodePublicKey, - Signature: SignatureBitStringEncoding + 'static, + Signature: SignatureBitStringEncoding, { let blob = self.finalize(signer)?;