Skip to content

Commit

Permalink
cms: losen lifetime of the signature (#1575)
Browse files Browse the repository at this point in the history
This is a followup on #1532. The lifetime requirement on the signature
was a mistake.
  • Loading branch information
baloo authored Oct 15, 2024
1 parent 2abff73 commit d2be079
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cms/src/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@ impl<'s> SignedDataBuilder<'s> {
S: Keypair + DynSignatureAlgorithmIdentifier,
S: AsyncSigner<Signature>,
S::VerifyingKey: EncodePublicKey,
Signature: SignatureBitStringEncoding + 'static,
Signature: SignatureBitStringEncoding,
{
let signer_info = signer_info_builder
.build_async::<S, Signature>(signer)
Expand All @@ -461,7 +461,7 @@ impl<'s> SignedDataBuilder<'s> {
S: Keypair + DynSignatureAlgorithmIdentifier,
S: AsyncRandomizedSigner<Signature>,
S::VerifyingKey: EncodePublicKey,
Signature: SignatureBitStringEncoding + 'static,
Signature: SignatureBitStringEncoding,
{
let signer_info = signer_info_builder
.build_with_rng_async::<S, Signature>(signer, rng)
Expand Down

0 comments on commit d2be079

Please sign in to comment.