-/* $OpenBSD: tlsexttest.c,v 1.71 2022/08/05 17:06:17 tb Exp $ */
+/* $OpenBSD: tlsexttest.c,v 1.72 2022/08/05 17:08:02 tb Exp $ */
/*
* Copyright (c) 2017 Joel Sing <jsing@openbsd.org>
* Copyright (c) 2017 Doug Hogan <doug@openbsd.org>
return (failure);
}
+static const uint8_t bogokey[] = {
+ 0xe5, 0xe8, 0x5a, 0xb9, 0x7e, 0x12, 0x62, 0xe3,
+ 0xd8, 0x7f, 0x6e, 0x3c, 0xec, 0xa6, 0x8b, 0x99,
+ 0x45, 0x77, 0x8e, 0x11, 0xb3, 0xb9, 0x12, 0xb6,
+ 0xbe, 0x35, 0xca, 0x51, 0x76, 0x1e, 0xe8, 0x22,
+};
+
static int
test_tlsext_keyshare_server(void)
{
int alert;
CBB cbb;
CBS cbs;
- uint8_t bogokey[] = {
- 0xe5, 0xe8, 0x5a, 0xb9, 0x7e, 0x12, 0x62, 0xe3,
- 0xd8, 0x7f, 0x6e, 0x3c, 0xec, 0xa6, 0x8b, 0x99,
- 0x45, 0x77, 0x8e, 0x11, 0xb3, 0xb9, 0x12, 0xb6,
- 0xbe, 0x35, 0xca, 0x51, 0x76, 0x1e, 0xe8, 0x22,
- };
failure = 1;