From: Aki Tuomi Date: Wed, 25 Jan 2023 19:52:42 +0000 (+0200) Subject: lib-dcrypt: test-crypto - Add pointer to hold error when calling dcrypt_ctx_sym_create X-Git-Tag: 2.4.0~3159 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=781e863c02fd94e2d70d224b397bfd82293fb697;p=thirdparty%2Fdovecot%2Fcore.git lib-dcrypt: test-crypto - Add pointer to hold error when calling dcrypt_ctx_sym_create Forgotten in 6c65d2f659d8bb2785f5a18fe583b456e0b5cece --- 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;