Skip to content

Add COSE structure extensions that allow use of predefined cryptographic backends + an OpenSSL based backend. #104

Add COSE structure extensions that allow use of predefined cryptographic backends + an OpenSSL based backend.

Add COSE structure extensions that allow use of predefined cryptographic backends + an OpenSSL based backend. #104

GitHub Actions / clippy succeeded Aug 4, 2024 in 0s

clippy

1 warning

Details

Results

Message level Amount
Internal compiler error 0
Error 0
Warning 1
Note 0
Help 0

Versions

  • rustc 1.80.0 (051478957 2024-07-21)
  • cargo 1.80.0 (376290515 2024-07-16)
  • clippy 0.1.80 (0514789 2024-07-21)

Annotations

Check warning on line 515 in src/token/cose/recipient/mod.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

this function has too many arguments (8/7)

warning: this function has too many arguments (8/7)
   --> src/token/cose/recipient/mod.rs:506:5
    |
506 | /     fn try_encrypt<B: KeyDistributionCryptoBackend, CKP: KeyProvider, CAP: AadProvider + ?Sized>(
507 | |         self,
508 | |         backend: &mut B,
509 | |         key_provider: &CKP,
...   |
514 | |         external_aad: CAP,
515 | |     ) -> Result<Self, CoseCipherError<B::Error>>;
    | |________________________________________________^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments
    = note: `#[warn(clippy::too_many_arguments)]` on by default