Skip to content

Commit

Permalink
chore: apply linting
Browse files Browse the repository at this point in the history
  • Loading branch information
dhilipsiva committed Jun 21, 2024
1 parent ff6268a commit 547b3ba
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions rust/src/data_structures.rs
Original file line number Diff line number Diff line change
Expand Up @@ -569,35 +569,35 @@ impl DtlsFingerprint {
match fingerprint.algorithm {
web_rtc_transport::FingerprintAlgorithm::Sha1 => {
let value_result = hex_as_bytes::<20>(fingerprint.value.as_str());

DtlsFingerprint::Sha1 {
value: value_result,
}
}
web_rtc_transport::FingerprintAlgorithm::Sha224 => {
let value_result = hex_as_bytes::<28>(fingerprint.value.as_str());

DtlsFingerprint::Sha224 {
value: value_result,
}
}
web_rtc_transport::FingerprintAlgorithm::Sha256 => {
let value_result = hex_as_bytes::<32>(fingerprint.value.as_str());

DtlsFingerprint::Sha256 {
value: value_result,
}
}
web_rtc_transport::FingerprintAlgorithm::Sha384 => {
let value_result = hex_as_bytes::<48>(fingerprint.value.as_str());

DtlsFingerprint::Sha384 {
value: value_result,
}
}
web_rtc_transport::FingerprintAlgorithm::Sha512 => {
let value_result = hex_as_bytes::<64>(fingerprint.value.as_str());

DtlsFingerprint::Sha512 {
value: value_result,
}
Expand Down

0 comments on commit 547b3ba

Please sign in to comment.