Skip to content

Commit

Permalink
refactor: dont panic?
Browse files Browse the repository at this point in the history
  • Loading branch information
joalopez1206 committed Oct 1, 2024
1 parent 298dd0f commit 6ad3bd1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/message/rdata/rrsig_rdata.rs
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,8 @@ impl FromBytes<Result<Self, &'static str>> for RRSIGRdata {
signer_name_string = ".".to_string();
signer_name.0.set_name(signer_name_string);
if labels != 0 {
panic!("Labels is not zero when signer name is root");
// TODO: ask why this?
//panic!("Labels is not zero when signer name is root");
}
}
// if the signer_name is not the root, then labels must be less or equal
Expand Down

0 comments on commit 6ad3bd1

Please sign in to comment.