On 2025-04-12 08:31, Sebastian Ramacher wrote:
stderr: runtests: ../../libaes_siv/tests.c:80: test_malloc_failure: Assertion `ret == 1' failed.
Nothing in that code has changed recently.
Is this reproducible?
Here is what the relevant test case code looks like:
----
/* This needs to be the first test case because CRYPTO_set_mem_functions()
will fail once any allocations have happened.
*/
static void test_malloc_failure(void) {
int ret, i=0;
AES_SIV_CTX *ctx;
#if OPENSSL_VERSION_NUMBER < 0x10100000L
ret = CRYPTO_set_mem_functions(mock_malloc, realloc, free);
#else
ret = CRYPTO_set_mem_functions(mock_malloc_ex, mock_realloc_ex,
mock_free_ex);
#endif
assert(ret == 1);
----
Did s390x recently move off old OpenSSL?
Does it do anything interesting with memory allocation, especially in
OpenSSL?
-- Richard
OpenPGP_signature.asc
Description: OpenPGP digital signature

