summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjsing <jsing@openbsd.org>2021-02-08 17:21:50 +0000
committerjsing <jsing@openbsd.org>2021-02-08 17:21:50 +0000
commit4d1c75807ccd1ac959c2feafcc2c1df7b4c95f8b (patch)
tree51d908c0c694e9486cd66d15791ff0d77f3cef6d
parentRemove bogus DTLS checks to disable ECC and OCSP. (diff)
downloadwireguard-openbsd-4d1c75807ccd1ac959c2feafcc2c1df7b4c95f8b.tar.xz
wireguard-openbsd-4d1c75807ccd1ac959c2feafcc2c1df7b4c95f8b.zip
Update DTLS client hello due to ECC changes.
-rw-r--r--regress/lib/libssl/client/clienttest.c13
1 files changed, 8 insertions, 5 deletions
diff --git a/regress/lib/libssl/client/clienttest.c b/regress/lib/libssl/client/clienttest.c
index 51b23986fd1..a58019a2b6a 100644
--- a/regress/lib/libssl/client/clienttest.c
+++ b/regress/lib/libssl/client/clienttest.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: clienttest.c,v 1.27 2021/01/22 15:54:32 tb Exp $ */
+/* $OpenBSD: clienttest.c,v 1.28 2021/02/08 17:21:50 jsing Exp $ */
/*
* Copyright (c) 2015 Joel Sing <jsing@openbsd.org>
*
@@ -42,9 +42,9 @@ static unsigned char cipher_list_dtls1[] = {
static unsigned char client_hello_dtls1[] = {
0x16, 0xfe, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00,
- 0x00, 0x00, 0x00, 0x00, 0x60, 0x01, 0x00, 0x00,
- 0x54, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
- 0x54, 0xfe, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x74, 0x01, 0x00, 0x00,
+ 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x68, 0xfe, 0xff, 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,
@@ -54,7 +54,10 @@ static unsigned char client_hello_dtls1[] = {
0x13, 0xc0, 0x09, 0x00, 0x33, 0x00, 0x45, 0x00,
0x2f, 0x00, 0x41, 0xc0, 0x12, 0xc0, 0x08, 0x00,
0x16, 0x00, 0x0a, 0x00, 0xff, 0x01, 0x00, 0x00,
- 0x04, 0x00, 0x23, 0x00, 0x00,
+ 0x18, 0x00, 0x0b, 0x00, 0x02, 0x01, 0x00, 0x00,
+ 0x0a, 0x00, 0x0a, 0x00, 0x08, 0x00, 0x1d, 0x00,
+ 0x17, 0x00, 0x18, 0x00, 0x19, 0x00, 0x23, 0x00,
+ 0x00,
};
static unsigned char cipher_list_tls10[] = {