From ccb38f6d4da1788074ffa4e9a4a99bc33073b703 Mon Sep 17 00:00:00 2001 From: tb <> Date: Mon, 30 Mar 2026 06:23:33 +0000 Subject: libssl regress: adjust golden numbers for RSASSA-PSS Add the three RSASSA-PSS SignatureScheme 0x080b, 0x080a, 0x0809 in the appropriate spots in (components of) the ClientHello and adjust various length octets by adding 6. --- src/regress/lib/libssl/tlsext/tlsexttest.c | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) (limited to 'src/regress/lib/libssl/tlsext') diff --git a/src/regress/lib/libssl/tlsext/tlsexttest.c b/src/regress/lib/libssl/tlsext/tlsexttest.c index 4c3701a63d..7a32975629 100644 --- a/src/regress/lib/libssl/tlsext/tlsexttest.c +++ b/src/regress/lib/libssl/tlsext/tlsexttest.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tlsexttest.c,v 1.95 2025/12/04 21:03:42 beck Exp $ */ +/* $OpenBSD: tlsexttest.c,v 1.96 2026/03/30 06:23:33 tb Exp $ */ /* * Copyright (c) 2017 Joel Sing * Copyright (c) 2017 Doug Hogan @@ -1608,9 +1608,10 @@ test_tlsext_ri_server(void) */ static const unsigned char tlsext_sigalgs_client[] = { - 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, 0x1c, 0x08, 0x06, 0x08, 0x0b, 0x06, 0x01, + 0x06, 0x03, 0x08, 0x05, 0x08, 0x0a, 0x05, 0x01, + 0x05, 0x03, 0x08, 0x04, 0x08, 0x09, 0x04, 0x01, + 0x04, 0x03, 0x02, 0x01, 0x02, 0x03, }; static int @@ -3186,13 +3187,14 @@ test_tlsext_srtp_server(void) #endif /* OPENSSL_NO_SRTP */ static const unsigned char tlsext_clienthello_default[] = { - 0x00, 0x34, 0x00, 0x0a, 0x00, 0x0a, 0x00, 0x08, + 0x00, 0x3a, 0x00, 0x0a, 0x00, 0x0a, 0x00, 0x08, 0x00, 0x1d, 0x00, 0x17, 0x00, 0x18, 0x00, 0x19, 0x00, 0x0b, 0x00, 0x02, 0x01, 0x00, 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, 0x00, 0x00, 0x0d, 0x00, 0x1e, 0x00, 0x1c, + 0x08, 0x06, 0x08, 0x0b, 0x06, 0x01, 0x06, 0x03, + 0x08, 0x05, 0x08, 0x0a, 0x05, 0x01, 0x05, 0x03, + 0x08, 0x04, 0x08, 0x09, 0x04, 0x01, 0x04, 0x03, + 0x02, 0x01, 0x02, 0x03, }; /* An empty array is an incomplete type and sizeof() is undefined. */ -- cgit v1.2.3-55-g6feb