Skip to content

Commit

Permalink
Clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
tustvold committed Oct 2, 2023
1 parent 9733f96 commit 38733a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion object_store/src/gcp/credential.rs
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ impl TokenProvider for OAuthProvider {

let claim_str = b64_encode_obj(&claims)?;
let message = [self.jwt_header.as_ref(), claim_str.as_ref()].join(".");
let mut sig_bytes = vec![0; self.key_pair.public_modulus_len()];
let mut sig_bytes = vec![0; self.key_pair.public().modulus_len()];
self.key_pair
.sign(
&ring::signature::RSA_PKCS1_SHA256,
Expand Down

0 comments on commit 38733a6

Please sign in to comment.