Merge branch 'tor-cert-todos' into 'main'

Remove spurious todo-hs items in tor-cert.

See merge request tpo/core/arti!1311
This commit is contained in:
Nick Mathewson 2023-06-28 19:41:39 +00:00
commit 608f6671d7
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.