Last active
October 6, 2021 18:44
-
-
Save xerub/35859b471432d45e228b10ccb5e579f1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Errata for http://phrack.org/issues/70/12.html#article |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- asn.txt~ 2021-10-04 19:04:37.000000000 +0300 | |
+++ asn.txt 2021-10-06 21:23:28.000000000 +0300 | |
@@ -125,7 +125,7 @@ | |
bitstrings: | |
23 is a combination of 0x20 (Constructed) + 0x03 (Bit String) | |
- 09 is the total length of the components | |
+ 08 is the total length of the components | |
03 denotes a bitstring | |
02 the length of the bitstring in bytes, plus 1 | |
00 number of unused trailing bits at the end of the last byte | |
@@ -133,7 +133,7 @@ | |
03 denotes a bitstring | |
02 the length of the bitstring in bytes, plus 1 | |
01 number of unused trailing bits at the end of the last byte | |
- 42 42 the second part of the actual bitstring | |
+ 42 the second part of the actual bitstring | |
The decoder should merge those bitstrings, resulting in: 010000010100001. | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment