Skip to content

Commit

Permalink
refactor: minor code style adjustment
Browse files Browse the repository at this point in the history
  • Loading branch information
Hirevo committed Oct 9, 2024
1 parent d47fd70 commit fadc952
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/rsa.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ impl RsaPrivateKey {
let (q, data) = get_mpi(data)?;
let (d, data) = get_mpi(data)?;
let (u, _) = get_mpi(data)?;
Ok(RsaPrivateKey {
Ok(Self {
p: rsa::BigUint::from_bytes_be(p),
q: rsa::BigUint::from_bytes_be(q),
d: rsa::BigUint::from_bytes_be(d),
Expand Down

0 comments on commit fadc952

Please sign in to comment.