diff options
author | doug <> | 2015-10-25 20:15:06 +0000 |
---|---|---|
committer | doug <> | 2015-10-25 20:15:06 +0000 |
commit | 7ae41bf6bae5fce9138ee2a54bc12996051b19fd (patch) | |
tree | 59511335ad1fba560fcb5bf348c02cd361941e7b /src | |
parent | c7d9dee1c55f970d6a7de4e02fee38111ee55145 (diff) | |
download | openbsd-7ae41bf6bae5fce9138ee2a54bc12996051b19fd.tar.gz openbsd-7ae41bf6bae5fce9138ee2a54bc12996051b19fd.tar.bz2 openbsd-7ae41bf6bae5fce9138ee2a54bc12996051b19fd.zip |
Change test to use length 128 (shortest long-form encoding).libressl-v2.3.1
From BoringSSL commit: d13a5e15d4e4eb51513be665306a2beba39869df
Diffstat (limited to 'src')
-rw-r--r-- | src/regress/lib/libssl/bytestring/bytestringtest.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/regress/lib/libssl/bytestring/bytestringtest.c b/src/regress/lib/libssl/bytestring/bytestringtest.c index 808fd0cc87..5275269902 100644 --- a/src/regress/lib/libssl/bytestring/bytestringtest.c +++ b/src/regress/lib/libssl/bytestring/bytestringtest.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: bytestringtest.c,v 1.9 2015/07/18 21:57:00 bcook Exp $ */ | 1 | /* $OpenBSD: bytestringtest.c,v 1.10 2015/10/25 20:15:06 doug Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2014, Google Inc. | 3 | * Copyright (c) 2014, Google Inc. |
4 | * | 4 | * |
@@ -138,7 +138,7 @@ test_get_asn1(void) | |||
138 | static const uint8_t kData2[] = {0x30, 3, 1, 2}; | 138 | static const uint8_t kData2[] = {0x30, 3, 1, 2}; |
139 | static const uint8_t kData3[] = {0x30, 0x80}; | 139 | static const uint8_t kData3[] = {0x30, 0x80}; |
140 | static const uint8_t kData4[] = {0x30, 0x81, 1, 1}; | 140 | static const uint8_t kData4[] = {0x30, 0x81, 1, 1}; |
141 | static const uint8_t kData5[] = {0x30, 0x82, 0, 1, 1}; | 141 | static const uint8_t kData5[4 + 0x80] = {0x30, 0x82, 0, 0x80}; |
142 | static const uint8_t kData6[] = {0xa1, 3, 0x4, 1, 1}; | 142 | static const uint8_t kData6[] = {0xa1, 3, 0x4, 1, 1}; |
143 | static const uint8_t kData7[] = {0xa1, 3, 0x4, 2, 1}; | 143 | static const uint8_t kData7[] = {0xa1, 3, 0x4, 2, 1}; |
144 | static const uint8_t kData8[] = {0xa1, 3, 0x2, 1, 1}; | 144 | static const uint8_t kData8[] = {0xa1, 3, 0x2, 1, 1}; |