summaryrefslogtreecommitdiff
path: root/gtests/common
diff options
context:
space:
mode:
authorMartin Thomson <martin.thomson@gmail.com>2019-09-27 14:00:09 +1000
committerMartin Thomson <martin.thomson@gmail.com>2019-09-27 14:00:09 +1000
commitce5bdc97bcae228e3d7e41825e03a224d277f348 (patch)
treeb68582668e45e3112d076479ba8b05af212afe51 /gtests/common
parenta6a4b1ef3dfc94e5e9a0adc920b6a1a250223b91 (diff)
downloadnss-hg-ce5bdc97bcae228e3d7e41825e03a224d277f348.tar.gz
Bug 1515342 - Checks for invalid bit strings, r=jcj
Differential Revision: https://phabricator.services.mozilla.com/D15061
Diffstat (limited to 'gtests/common')
-rw-r--r--gtests/common/testvectors/curve25519-vectors.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/gtests/common/testvectors/curve25519-vectors.h b/gtests/common/testvectors/curve25519-vectors.h
index de44444ca..bb5a79c14 100644
--- a/gtests/common/testvectors/curve25519-vectors.h
+++ b/gtests/common/testvectors/curve25519-vectors.h
@@ -48,9 +48,9 @@ const curve25519_testvector kCurve25519Vectors[] = {
0xf4, 0xeb, 0xa4, 0xa9, 0x8e, 0xaa, 0x9b, 0x4e, 0x6a},
{0x30, 0x38, 0x30, 0x14, 0x06, 0x07, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x02,
0x01, 0x06, 0x09, 0x2b, 0x06, 0x01, 0x04, 0x01, 0xda, 0x47, 0x0f, 0x01,
- 0x03, 0x20, 0xde, 0x9e, 0xdb, 0x7d, 0x7b, 0x7d, 0xc1, 0xb4, 0xd3, 0x5b,
- 0x61, 0xc2, 0xec, 0xe4, 0x35, 0x37, 0x3f, 0x83, 0x43, 0xc8, 0x5b, 0x78,
- 0x67, 0x4d, 0xad, 0xfc, 0x7e, 0x14, 0x6f, 0x88, 0x2b, 0x4f},
+ 0x03, 0x20, 0x00, 0xde, 0x9e, 0xdb, 0x7d, 0x7b, 0x7d, 0xc1, 0xb4, 0xd3,
+ 0x5b, 0x61, 0xc2, 0xec, 0xe4, 0x35, 0x37, 0x3f, 0x83, 0x43, 0xc8, 0x5b,
+ 0x78, 0x67, 0x4d, 0xad, 0xfc, 0x7e, 0x14, 0x6f, 0x88, 0x2b},
{},
false},