commit | 139b84ce40407381902dbeb0b1380dcb0eca4fe9 | [log] [tgz] |
---|---|---|
author | Demi Marie Obenour <demiobenour@gmail.com> | Thu Dec 08 15:24:23 2022 -0500 |
committer | Demi Marie Obenour <demiobenour@gmail.com> | Thu Dec 29 19:18:22 2022 -0500 |
tree | f368d8782657276a2c77c5af097a88d117b5c324 | |
parent | b1342a2e392b9786d77f3d0894a556731be58ab1 [diff] |
refactor(auth): avoid parsing signature algorithm twice Since the two instances of the signature algorithm in a certificate must be bitwise identical, it is not necessary to parse both of them. Instead, it suffices to parse one of them, and then check that the other fits in the remaining buffer space and is equal to the first. Change-Id: Id0a0663165f147879ac83b6a540378fd4873b0dd Signed-off-by: Demi Marie Obenour <demiobenour@gmail.com>