summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/regress/lib/libssl/tlsext/tlsexttest.c21
1 files changed, 11 insertions, 10 deletions
diff --git a/src/regress/lib/libssl/tlsext/tlsexttest.c b/src/regress/lib/libssl/tlsext/tlsexttest.c
index 90294592cf..69467533d2 100644
--- a/src/regress/lib/libssl/tlsext/tlsexttest.c
+++ b/src/regress/lib/libssl/tlsext/tlsexttest.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: tlsexttest.c,v 1.42 2020/07/03 04:58:41 tb Exp $ */ 1/* $OpenBSD: tlsexttest.c,v 1.43 2020/08/09 16:26:57 jsing Exp $ */
2/* 2/*
3 * Copyright (c) 2017 Joel Sing <jsing@openbsd.org> 3 * Copyright (c) 2017 Joel Sing <jsing@openbsd.org>
4 * Copyright (c) 2017 Doug Hogan <doug@openbsd.org> 4 * Copyright (c) 2017 Doug Hogan <doug@openbsd.org>
@@ -470,10 +470,11 @@ test_tlsext_alpn_server(void)
470 */ 470 */
471 471
472static uint8_t tlsext_supportedgroups_client_default[] = { 472static uint8_t tlsext_supportedgroups_client_default[] = {
473 0x00, 0x06, 473 0x00, 0x08,
474 0x00, 0x1d, /* X25519 (29) */ 474 0x00, 0x1d, /* X25519 (29) */
475 0x00, 0x17, /* secp256r1 (23) */ 475 0x00, 0x17, /* secp256r1 (23) */
476 0x00, 0x18 /* secp384r1 (24) */ 476 0x00, 0x18, /* secp384r1 (24) */
477 0x00, 0x19, /* secp521r1 (25) */
477}; 478};
478 479
479static uint16_t tlsext_supportedgroups_client_secp384r1_val[] = { 480static uint16_t tlsext_supportedgroups_client_secp384r1_val[] = {
@@ -2713,13 +2714,13 @@ test_tlsext_srtp_server(void)
2713#endif /* OPENSSL_NO_SRTP */ 2714#endif /* OPENSSL_NO_SRTP */
2714 2715
2715unsigned char tlsext_clienthello_default[] = { 2716unsigned char tlsext_clienthello_default[] = {
2716 0x00, 0x32, 0x00, 0x0b, 0x00, 0x02, 0x01, 0x00, 2717 0x00, 0x34, 0x00, 0x0b, 0x00, 0x02, 0x01, 0x00,
2717 0x00, 0x0a, 0x00, 0x08, 0x00, 0x06, 0x00, 0x1d, 2718 0x00, 0x0a, 0x00, 0x0a, 0x00, 0x08, 0x00, 0x1d,
2718 0x00, 0x17, 0x00, 0x18, 0x00, 0x23, 0x00, 0x00, 2719 0x00, 0x17, 0x00, 0x18, 0x00, 0x19, 0x00, 0x23,
2719 0x00, 0x0d, 0x00, 0x18, 0x00, 0x16, 0x08, 0x06, 2720 0x00, 0x00, 0x00, 0x0d, 0x00, 0x18, 0x00, 0x16,
2720 0x06, 0x01, 0x06, 0x03, 0x08, 0x05, 0x05, 0x01, 2721 0x08, 0x06, 0x06, 0x01, 0x06, 0x03, 0x08, 0x05,
2721 0x05, 0x03, 0x08, 0x04, 0x04, 0x01, 0x04, 0x03, 2722 0x05, 0x01, 0x05, 0x03, 0x08, 0x04, 0x04, 0x01,
2722 0x02, 0x01, 0x02, 0x03, 2723 0x04, 0x03, 0x02, 0x01, 0x02, 0x03,
2723}; 2724};
2724 2725
2725unsigned char tlsext_clienthello_disabled[] = {}; 2726unsigned char tlsext_clienthello_disabled[] = {};