Skip to content

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

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

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 517 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:508:5
    |
508 | /     fn try_encrypt<B: KeyDistributionCryptoBackend, CKP: KeyProvider, CAP: AadProvider + ?Sized>(
509 | |         self,
510 | |         backend: &mut B,
511 | |         key_provider: &CKP,
...   |
516 | |         external_aad: CAP,
517 | |     ) -> 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