Remove spurious todo-hs items in tor-cert.

I am not sure why we wrote these comments, but they are incorrect:
I've investigated the C code and found only 3 key types.  The
"unimplemented" types that the TODO comment here complains about are
in fact certificate types.
This commit is contained in:
Nick Mathewson 2023-06-26 12:42:08 -04:00
parent f136e8ac41
commit 4003e032d6
1 changed files with 0 additions and 6 deletions

View File

@ -150,10 +150,6 @@ caret_int! {
SHA256_OF_RSA = 0x02,
/// Identifies the SHA256 of an X.509 certificate.
SHA256_OF_X509 = 0x03,
// 08 through 09 and 0B are used for onion services. They
// probably shouldn't be, but that's what Tor does.
// TODO hs: Add these types.
}
}
@ -198,8 +194,6 @@ pub enum CertifiedKey {
X509Sha256Digest([u8; 32]),
/// Some unrecognized key type.
Unrecognized(UnrecognizedKey),
// TODO hs: Add new alternatives here for the case that we're handling key types from
// onion services. These will correspond to types in tor-hscrypto.
}
/// A key whose type we didn't recognize.