Skip to content

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

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. #101

GitHub Actions / clippy succeeded Jul 24, 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.79.0 (129f3b996 2024-06-10)
  • cargo 1.79.0 (ffa9cf99a 2024-06-03)
  • clippy 0.1.79 (129f3b9 2024-06-10)

Annotations

Check warning on line 514 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:505:5
    |
505 | /     fn try_encrypt<B: KeyDistributionCryptoBackend, CKP: KeyProvider, CAP: AadProvider + ?Sized>(
506 | |         self,
507 | |         backend: &mut B,
508 | |         key_provider: &CKP,
...   |
513 | |         external_aad: CAP,
514 | |     ) -> 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