diff options
-rw-r--r-- | openpgp/src/packet/header/ctb.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/openpgp/src/packet/header/ctb.rs b/openpgp/src/packet/header/ctb.rs index 7ee1d24c..3f48cdf5 100644 --- a/openpgp/src/packet/header/ctb.rs +++ b/openpgp/src/packet/header/ctb.rs @@ -195,7 +195,6 @@ impl CTB { pub fn from_ptag(ptag: u8) -> Result<CTB> { // The top bit of the ptag must be set. if ptag & 0b1000_0000 == 0 { - // XXX: Use a proper error. return Err( Error::MalformedPacket( format!("Malformed CTB: MSB of ptag ({:#010b}) not set{}.", |