This commit is contained in:
Heiko Schaefer 2023-08-26 15:49:43 +02:00
parent c6518b91e2
commit a2232ebf86
No known key found for this signature in database
GPG key ID: 4A849A1904CCBD7D

View file

@ -72,7 +72,7 @@ fn parse_tl_list(input: &[u8]) -> nom::IResult<&[u8], Vec<(KeyType, Algo)>> {
Ok((input, list)) Ok((input, list))
} }
pub(self) fn parse(input: &[u8]) -> nom::IResult<&[u8], Vec<(KeyType, Algo)>> { fn parse(input: &[u8]) -> nom::IResult<&[u8], Vec<(KeyType, Algo)>> {
// Handle two variations of input format: // Handle two variations of input format:
// a) TLV format (e.g. YubiKey 5) // a) TLV format (e.g. YubiKey 5)
// b) Plain list (e.g. Gnuk, FOSS-Store Smartcard 3.4) // b) Plain list (e.g. Gnuk, FOSS-Store Smartcard 3.4)