From 781e863c02fd94e2d70d224b397bfd82293fb697 Mon Sep 17 00:00:00 2001 From: Aki Tuomi Date: Wed, 25 Jan 2023 21:52:42 +0200 Subject: [PATCH] lib-dcrypt: test-crypto - Add pointer to hold error when calling dcrypt_ctx_sym_create Forgotten in 6c65d2f659d8bb2785f5a18fe583b456e0b5cece --- src/lib-dcrypt/test-crypto.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib-dcrypt/test-crypto.c b/src/lib-dcrypt/test-crypto.c index da058ce1d0..9d58912163 100644 --- a/src/lib-dcrypt/test-crypto.c +++ b/src/lib-dcrypt/test-crypto.c @@ -70,7 +70,7 @@ static void test_cipher_test_vectors(void) hex_to_binary(vectors[i].ct, ct); if (!dcrypt_ctx_sym_create("AES-128-CBC", DCRYPT_MODE_ENCRYPT, - &ctx, NULL)) { + &ctx, &error)) { test_assert_failed("dcrypt_ctx_sym_create", __FILE__, __LINE__-1); continue; -- 2.47.3