Fix a failure in bio_dgram_test on the NonStop platform
authorMatt Caswell <matt@openssl.org>
Mon, 11 Sep 2023 09:03:22 +0000 (10:03 +0100)
committerMatt Caswell <matt@openssl.org>
Wed, 13 Sep 2023 10:53:13 +0000 (11:53 +0100)
commit572f290c9c2d892d5f891c6b8dcebf4e1ac65aed
tree5e4dd55698633c68abb042e01e148b4bb23248df
parent122d4e20cd2e88daa64d8bfcd7b8a6e39a0260e4
Fix a failure in bio_dgram_test on the NonStop platform

The size of the datagram header is significantly larger that we might
expect on NonStop (probably driven by sizeof(BIO_ADDR)). We adjust the
size of the default buffer to take into account the header size and the
mtu.

Fixes #22013

Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Hugo Landau <hlandau@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22058)
crypto/bio/bss_dgram_pair.c
test/bio_dgram_test.c