Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Firstyear committed Apr 10, 2024
1 parent bf4b52c commit 670fdc7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/crypto/a128kw.rs
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ impl TryFrom<&[u8]> for JweA128KWEncipher {

let mut wrap_key = [0; KEY_LEN];

wrap_key.copy_from_slice(&value);
wrap_key.copy_from_slice(value);

Self::try_from(wrap_key)
}
Expand Down
2 changes: 1 addition & 1 deletion src/crypto/es256.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ use openssl::{bn, ec, ecdsa, hash, nid, pkey};
use std::fmt;
use std::hash::{Hash, Hasher};

use crate::KID_LEN;
use crate::error::JwtError;
use crate::KID_LEN;

use base64::{engine::general_purpose, Engine as _};
use base64urlsafedata::Base64UrlSafeData;
Expand Down
2 changes: 1 addition & 1 deletion src/crypto/rs256.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ use openssl::{bn, hash, pkey, rsa, sign};
use std::fmt;
use std::hash::{Hash, Hasher};

use crate::KID_LEN;
use crate::error::JwtError;
use crate::KID_LEN;
use base64::{engine::general_purpose, Engine as _};
use base64urlsafedata::Base64UrlSafeData;

Expand Down

0 comments on commit 670fdc7

Please sign in to comment.