Further fix in bio_dgram_test for BIO_s_dgram_mem()
authorMatt Caswell <matt@openssl.org>
Tue, 12 Sep 2023 09:39:51 +0000 (10:39 +0100)
committerMatt Caswell <matt@openssl.org>
Wed, 13 Sep 2023 10:53:13 +0000 (11:53 +0100)
commit58165d8da493d4271b8a026ef4056ecaeefd3916
tree95e2e5d7e0a3b963ebf1cf3e981b4b8f906163f8
parent572f290c9c2d892d5f891c6b8dcebf4e1ac65aed
Further fix in bio_dgram_test for BIO_s_dgram_mem()

When setting an explicit buffer size using BIO_s_dgram_mem() make sure we
take into account the size of the header (which may be large on NonStop)

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)
test/bio_dgram_test.c