Don't incorrectly skip the multiblock test
authorMatt Caswell <matt@openssl.org>
Thu, 11 Aug 2022 11:02:44 +0000 (12:02 +0100)
committerHugo Landau <hlandau@openssl.org>
Wed, 17 Aug 2022 15:47:37 +0000 (16:47 +0100)
commit9e4b57fbe9544326e4c7119fe30e5319803f5e17
tree19c1fe4e6588f97c41b11abe0626fb56ef80b45d
parentd4b9a613839c07d9dd18d51106f6b94c64291402
Don't incorrectly skip the multiblock test

sslapitest has a test for multiblock writes. Since multiblock writing is
only available on some platforms the multiblock test checks whether we are
on such a platform first, and skips the test if we are not. Unfortunately
a bug in the check meant that we always skipped the test regardless of the
platform.

Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Hugo Landau <hlandau@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18983)

(cherry picked from commit 7c82a7a8f3a66f47f727d31691d6298d88ed158b)
test/sslapitest.c