diff --git a/cms/src/builder.rs b/cms/src/builder.rs index 5f49fd31a..9f658ef50 100644 --- a/cms/src/builder.rs +++ b/cms/src/builder.rs @@ -438,7 +438,7 @@ impl<'s> SignedDataBuilder<'s> { S: Keypair + DynSignatureAlgorithmIdentifier, S: AsyncSigner, S::VerifyingKey: EncodePublicKey, - Signature: SignatureBitStringEncoding + 'static, + Signature: SignatureBitStringEncoding, { let signer_info = signer_info_builder .build_async::(signer) @@ -461,7 +461,7 @@ impl<'s> SignedDataBuilder<'s> { S: Keypair + DynSignatureAlgorithmIdentifier, S: AsyncRandomizedSigner, S::VerifyingKey: EncodePublicKey, - Signature: SignatureBitStringEncoding + 'static, + Signature: SignatureBitStringEncoding, { let signer_info = signer_info_builder .build_with_rng_async::(signer, rng)