summaryrefslogtreecommitdiff
path: root/src/regress/lib/libssl/tlsext
diff options
context:
space:
mode:
authortb <>2026-03-30 06:23:33 +0000
committertb <>2026-03-30 06:23:33 +0000
commitccb38f6d4da1788074ffa4e9a4a99bc33073b703 (patch)
tree924783f9d99e7b390f62e70b77fb3515d5787f34 /src/regress/lib/libssl/tlsext
parent22f6fa080aa393c2a6455f88e99334d5b461444b (diff)
downloadopenbsd-ccb38f6d4da1788074ffa4e9a4a99bc33073b703.tar.gz
openbsd-ccb38f6d4da1788074ffa4e9a4a99bc33073b703.tar.bz2
openbsd-ccb38f6d4da1788074ffa4e9a4a99bc33073b703.zip
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.
Diffstat (limited to 'src/regress/lib/libssl/tlsext')
-rw-r--r--src/regress/lib/libssl/tlsext/tlsexttest.c20
1 files changed, 11 insertions, 9 deletions
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 @@
1/* $OpenBSD: tlsexttest.c,v 1.95 2025/12/04 21:03:42 beck Exp $ */ 1/* $OpenBSD: tlsexttest.c,v 1.96 2026/03/30 06:23:33 tb 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>
@@ -1608,9 +1608,10 @@ test_tlsext_ri_server(void)
1608 */ 1608 */
1609 1609
1610static const unsigned char tlsext_sigalgs_client[] = { 1610static const unsigned char tlsext_sigalgs_client[] = {
1611 0x00, 0x16, 0x08, 0x06, 0x06, 0x01, 0x06, 0x03, 1611 0x00, 0x1c, 0x08, 0x06, 0x08, 0x0b, 0x06, 0x01,
1612 0x08, 0x05, 0x05, 0x01, 0x05, 0x03, 0x08, 0x04, 1612 0x06, 0x03, 0x08, 0x05, 0x08, 0x0a, 0x05, 0x01,
1613 0x04, 0x01, 0x04, 0x03, 0x02, 0x01, 0x02, 0x03, 1613 0x05, 0x03, 0x08, 0x04, 0x08, 0x09, 0x04, 0x01,
1614 0x04, 0x03, 0x02, 0x01, 0x02, 0x03,
1614}; 1615};
1615 1616
1616static int 1617static int
@@ -3186,13 +3187,14 @@ test_tlsext_srtp_server(void)
3186#endif /* OPENSSL_NO_SRTP */ 3187#endif /* OPENSSL_NO_SRTP */
3187 3188
3188static const unsigned char tlsext_clienthello_default[] = { 3189static const unsigned char tlsext_clienthello_default[] = {
3189 0x00, 0x34, 0x00, 0x0a, 0x00, 0x0a, 0x00, 0x08, 3190 0x00, 0x3a, 0x00, 0x0a, 0x00, 0x0a, 0x00, 0x08,
3190 0x00, 0x1d, 0x00, 0x17, 0x00, 0x18, 0x00, 0x19, 3191 0x00, 0x1d, 0x00, 0x17, 0x00, 0x18, 0x00, 0x19,
3191 0x00, 0x0b, 0x00, 0x02, 0x01, 0x00, 0x00, 0x23, 3192 0x00, 0x0b, 0x00, 0x02, 0x01, 0x00, 0x00, 0x23,
3192 0x00, 0x00, 0x00, 0x0d, 0x00, 0x18, 0x00, 0x16, 3193 0x00, 0x00, 0x00, 0x0d, 0x00, 0x1e, 0x00, 0x1c,
3193 0x08, 0x06, 0x06, 0x01, 0x06, 0x03, 0x08, 0x05, 3194 0x08, 0x06, 0x08, 0x0b, 0x06, 0x01, 0x06, 0x03,
3194 0x05, 0x01, 0x05, 0x03, 0x08, 0x04, 0x04, 0x01, 3195 0x08, 0x05, 0x08, 0x0a, 0x05, 0x01, 0x05, 0x03,
3195 0x04, 0x03, 0x02, 0x01, 0x02, 0x03, 3196 0x08, 0x04, 0x08, 0x09, 0x04, 0x01, 0x04, 0x03,
3197 0x02, 0x01, 0x02, 0x03,
3196}; 3198};
3197 3199
3198/* An empty array is an incomplete type and sizeof() is undefined. */ 3200/* An empty array is an incomplete type and sizeof() is undefined. */