diff --git a/src/token/cose/crypto_impl/rustcrypto/sign/ecdsa.rs b/src/token/cose/crypto_impl/rustcrypto/sign/ecdsa.rs index 7976d87..15a8db8 100644 --- a/src/token/cose/crypto_impl/rustcrypto/sign/ecdsa.rs +++ b/src/token/cose/crypto_impl/rustcrypto/sign/ecdsa.rs @@ -164,11 +164,7 @@ impl RustCryptoContext { } else { // x must be Some here due to the previous condition. let pubkey_coord = if let Some(y) = key.y { - EncodedPoint::::from_affine_coordinates( - key.x.unwrap().into(), - y.into(), - false, - ) + EncodedPoint::::from_affine_coordinates(key.x.unwrap().into(), y.into(), false) } else { EncodedPoint::::from_affine_coordinates( key.x.unwrap().into(),