diff options
| author | Enji Cooper <ngie@FreeBSD.org> | 2026-06-09 19:21:35 +0000 |
|---|---|---|
| committer | Enji Cooper <ngie@FreeBSD.org> | 2026-06-09 19:21:35 +0000 |
| commit | 3a71a35ad9dad0e5d2cad8efecc8ba9d57c42d43 (patch) | |
| tree | 4f5b47534bc1016b89e70bd6dc27382670adcee5 /test/asn1_decode_test.c | |
| parent | ab5fc4ac933ff67bc800e774dffce15e2a541e90 (diff) | |
Diffstat (limited to 'test/asn1_decode_test.c')
| -rw-r--r-- | test/asn1_decode_test.c | 32 |
1 files changed, 4 insertions, 28 deletions
diff --git a/test/asn1_decode_test.c b/test/asn1_decode_test.c index 49af48c1605e..6e00d4089692 100644 --- a/test/asn1_decode_test.c +++ b/test/asn1_decode_test.c @@ -163,21 +163,8 @@ static int test_gentime(void) { /* Underflowing GeneralizedTime 161208193400Z (YYMMDDHHMMSSZ) */ const unsigned char der[] = { - 0x18, - 0x0d, - 0x31, - 0x36, - 0x31, - 0x32, - 0x30, - 0x38, - 0x31, - 0x39, - 0x33, - 0x34, - 0x30, - 0x30, - 0x5a, + 0x18, 0x0d, 0x31, 0x36, 0x31, 0x32, 0x30, 0x38, 0x31, 0x39, + 0x33, 0x34, 0x30, 0x30, 0x5a }; const unsigned char *p; int der_len, rc = 1; @@ -200,19 +187,8 @@ static int test_utctime(void) { /* Underflowing UTCTime 0205104700Z (MMDDHHMMSSZ) */ const unsigned char der[] = { - 0x17, - 0x0b, - 0x30, - 0x32, - 0x30, - 0x35, - 0x31, - 0x30, - 0x34, - 0x37, - 0x30, - 0x30, - 0x5a, + 0x17, 0x0b, 0x30, 0x32, 0x30, 0x35, 0x31, 0x30, 0x34, 0x37, + 0x30, 0x30, 0x5a }; const unsigned char *p; int der_len, rc = 1; |
