diff --git a/internal/encoding/asn1/asn1_test.go b/internal/encoding/asn1/asn1_test.go index 2fe3f24d..24c84c42 100644 --- a/internal/encoding/asn1/asn1_test.go +++ b/internal/encoding/asn1/asn1_test.go @@ -20,9 +20,11 @@ import ( func TestConvertToDER(t *testing.T) { var testBytes = make([]byte, 0xFFFFFFFF+8) + // primitive identifier testBytes[0] = 0x1f testBytes[1] = 0xa0 testBytes[2] = 0x20 + // length testBytes[3] = 0x84 testBytes[4] = 0xFF testBytes[5] = 0xFF