summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjsing <jsing@openbsd.org>2020-08-09 16:27:28 +0000
committerjsing <jsing@openbsd.org>2020-08-09 16:27:28 +0000
commit5051206ab51cea79875eab6273c0ccdc144ebd1e (patch)
tree7fbea031dc7e4dac0fc276270b2f2db285fda903
parentUpdate golden values to match P-521 being enabled by default in the client. (diff)
downloadwireguard-openbsd-5051206ab51cea79875eab6273c0ccdc144ebd1e.tar.xz
wireguard-openbsd-5051206ab51cea79875eab6273c0ccdc144ebd1e.zip
Update golden values to match P-521 being enabled by default in the client.
Diff from tb@
-rw-r--r--regress/lib/libssl/client/clienttest.c41
1 files changed, 21 insertions, 20 deletions
diff --git a/regress/lib/libssl/client/clienttest.c b/regress/lib/libssl/client/clienttest.c
index e81b83c45e2..e8e20c2f8d0 100644
--- a/regress/lib/libssl/client/clienttest.c
+++ b/regress/lib/libssl/client/clienttest.c
@@ -66,21 +66,21 @@ static unsigned char cipher_list_tls10[] = {
};
static unsigned char client_hello_tls10[] = {
- 0x16, 0x03, 0x01, 0x00, 0x71, 0x01, 0x00, 0x00,
- 0x6d, 0x03, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x16, 0x03, 0x01, 0x00, 0x73, 0x01, 0x00, 0x00,
+ 0x6f, 0x03, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x2e, 0xc0, 0x14,
- 0xc0, 0x0a, 0x00, 0x39, 0xff, 0x85, 0x00, 0x88,
+ 0x00, 0x00, 0x00, 0x00, 0xff, 0x85, 0x00, 0x88,
0x00, 0x81, 0x00, 0x35, 0x00, 0x84, 0xc0, 0x13,
0xc0, 0x09, 0x00, 0x33, 0x00, 0x45, 0x00, 0x2f,
0x00, 0x41, 0xc0, 0x11, 0xc0, 0x07, 0x00, 0x05,
0x00, 0x04, 0xc0, 0x12, 0xc0, 0x08, 0x00, 0x16,
- 0x00, 0x0a, 0x00, 0xff, 0x01, 0x00, 0x00, 0x16,
+ 0x00, 0x0a, 0x00, 0xff, 0x01, 0x00, 0x00, 0x18,
0x00, 0x0b, 0x00, 0x02, 0x01, 0x00, 0x00, 0x0a,
- 0x00, 0x08, 0x00, 0x06, 0x00, 0x1d, 0x00, 0x17,
- 0x00, 0x18, 0x00, 0x23, 0x00, 0x00,
+ 0x00, 0x0a, 0x00, 0x08, 0x00, 0x1d, 0x00, 0x17,
+ 0x00, 0x18, 0x00, 0x19, 0x00, 0x23, 0x00, 0x00,
};
static unsigned char cipher_list_tls11[] = {
@@ -93,8 +93,8 @@ static unsigned char cipher_list_tls11[] = {
};
static unsigned char client_hello_tls11[] = {
- 0x16, 0x03, 0x01, 0x00, 0x71, 0x01, 0x00, 0x00,
- 0x6d, 0x03, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x16, 0x03, 0x01, 0x00, 0x73, 0x01, 0x00, 0x00,
+ 0x6f, 0x03, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
@@ -104,10 +104,10 @@ static unsigned char client_hello_tls11[] = {
0xc0, 0x09, 0x00, 0x33, 0x00, 0x45, 0x00, 0x2f,
0x00, 0x41, 0xc0, 0x11, 0xc0, 0x07, 0x00, 0x05,
0x00, 0x04, 0xc0, 0x12, 0xc0, 0x08, 0x00, 0x16,
- 0x00, 0x0a, 0x00, 0xff, 0x01, 0x00, 0x00, 0x16,
+ 0x00, 0x0a, 0x00, 0xff, 0x01, 0x00, 0x00, 0x18,
0x00, 0x0b, 0x00, 0x02, 0x01, 0x00, 0x00, 0x0a,
- 0x00, 0x08, 0x00, 0x06, 0x00, 0x1d, 0x00, 0x17,
- 0x00, 0x18, 0x00, 0x23, 0x00, 0x00,
+ 0x00, 0x0a, 0x00, 0x08, 0x00, 0x1d, 0x00, 0x17,
+ 0x00, 0x18, 0x00, 0x19, 0x00, 0x23, 0x00, 0x00,
};
static unsigned char cipher_list_tls12_aes[] = {
@@ -141,8 +141,8 @@ static unsigned char cipher_list_tls12_chacha[] = {
};
static unsigned char client_hello_tls12[] = {
- 0x16, 0x03, 0x01, 0x00, 0xbb, 0x01, 0x00, 0x00,
- 0xb7, 0x03, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x16, 0x03, 0x01, 0x00, 0xbd, 0x01, 0x00, 0x00,
+ 0xb9, 0x03, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
@@ -158,13 +158,14 @@ static unsigned char client_hello_tls12[] = {
0x00, 0x3c, 0x00, 0x2f, 0x00, 0xba, 0x00, 0x41,
0xc0, 0x11, 0xc0, 0x07, 0x00, 0x05, 0x00, 0x04,
0xc0, 0x12, 0xc0, 0x08, 0x00, 0x16, 0x00, 0x0a,
- 0x00, 0xff, 0x01, 0x00, 0x00, 0x32, 0x00, 0x0b,
- 0x00, 0x02, 0x01, 0x00, 0x00, 0x0a, 0x00, 0x08,
- 0x00, 0x06, 0x00, 0x1d, 0x00, 0x17, 0x00, 0x18,
- 0x00, 0x23, 0x00, 0x00, 0x00, 0x0d, 0x00, 0x18,
- 0x00, 0x16, 0x08, 0x06, 0x06, 0x01, 0x06, 0x03,
- 0x08, 0x05, 0x05, 0x01, 0x05, 0x03, 0x08, 0x04,
- 0x04, 0x01, 0x04, 0x03, 0x02, 0x01, 0x02, 0x03,
+ 0x00, 0xff, 0x01, 0x00, 0x00, 0x34, 0x00, 0x0b,
+ 0x00, 0x02, 0x01, 0x00, 0x00, 0x0a, 0x00, 0x0a,
+ 0x00, 0x08, 0x00, 0x1d, 0x00, 0x17, 0x00, 0x18,
+ 0x00, 0x19, 0x00, 0x23, 0x00, 0x00, 0x00, 0x0d,
+ 0x00, 0x18, 0x00, 0x16, 0x08, 0x06, 0x06, 0x01,
+ 0x06, 0x03, 0x08, 0x05, 0x05, 0x01, 0x05, 0x03,
+ 0x08, 0x04, 0x04, 0x01, 0x04, 0x03, 0x02, 0x01,
+ 0x02, 0x03,
};
struct client_hello_test {