Check whether buffers have actually been allocated/freed
authorMatt Caswell <matt@openssl.org>
Tue, 25 Oct 2022 15:29:43 +0000 (16:29 +0100)
committerMatt Caswell <matt@openssl.org>
Thu, 27 Oct 2022 09:52:52 +0000 (10:52 +0100)
commitee05588dabeac7b9d034bf16dad122a93d1688a4
treec5d61175ea009183559304e1aaf0bfe7b1065e6e
parentfba0206da7c0cc68854bb63a6ee9b96a74f4ed7a
Check whether buffers have actually been allocated/freed

In the sslbuffertest we test the operation of SSL_alloc_buffers() and
SSL_free_buffers(). However this was done entirely using the public API,
and did not confirm that the buffers were actually allocated/freed. We
now extend the test to confirm this.

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Hugo Landau <hlandau@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/19472)
test/sslbuffertest.c