From 888e7d98c4fa0020bc2f7e6554713d76184838a5 Mon Sep 17 00:00:00 2001 From: joalopez1206 Date: Tue, 1 Oct 2024 18:03:11 -0300 Subject: [PATCH] refactor: dont panic? --- src/message/rdata/rrsig_rdata.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/message/rdata/rrsig_rdata.rs b/src/message/rdata/rrsig_rdata.rs index d2c8a66a..6d02bf4e 100644 --- a/src/message/rdata/rrsig_rdata.rs +++ b/src/message/rdata/rrsig_rdata.rs @@ -122,7 +122,8 @@ impl FromBytes> 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