diff options
author | Matt Caswell <matt@openssl.org> | 2022-08-11 12:02:44 +0100 |
---|---|---|
committer | Hugo Landau <hlandau@openssl.org> | 2022-08-17 16:46:33 +0100 |
commit | 7c82a7a8f3a66f47f727d31691d6298d88ed158b (patch) | |
tree | cd8edf98beee614e4058a43f9bc776de2bd7e5bf /test | |
parent | b7cf9dd2393de8e90a15e83466d9b8b781b18385 (diff) |
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)
Diffstat (limited to 'test')
-rw-r--r-- | test/sslapitest.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/sslapitest.c b/test/sslapitest.c index bf2e75c724..3f8cbd9da2 100644 --- a/test/sslapitest.c +++ b/test/sslapitest.c @@ -8470,7 +8470,7 @@ static int test_multiblock_write(int test_index) * Check if the cipher exists before attempting to use it since it only has * a hardware specific implementation. */ - ciph = EVP_CIPHER_fetch(NULL, fetchable_ciphers[test_index], ""); + ciph = EVP_CIPHER_fetch(libctx, fetchable_ciphers[test_index], ""); if (ciph == NULL) { TEST_skip("Multiblock cipher is not available for %s", cipherlist); return 1; |