Skip to content

Commit

Permalink
fix glaring kmmresult mapping issue
Browse files Browse the repository at this point in the history
  • Loading branch information
JesusMcCloud committed Sep 12, 2024
1 parent d6bad67 commit 15a4a12
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ open class DefaultVerifierCryptoService : VerifierCryptoService {
signature: CryptoSignature,
algorithm: X509SignatureAlgorithm,
publicKey: CryptoPublicKey
): KmmResult<Unit> = algorithm.algorithm.verifierFor(publicKey).map {
): KmmResult<Unit> = algorithm.algorithm.verifierFor(publicKey).transform {
it.verify(SignatureInput(input), signature)
}
}

0 comments on commit 15a4a12

Please sign in to comment.