From 21d21a09b0af779b2f5c23d35f11bf7b38b8640f Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Sun, 11 Oct 2020 18:19:10 +0100 Subject: [PATCH] ITS#9364 tweak crypto sample again --- libraries/liblmdb/crypto.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/liblmdb/crypto.c b/libraries/liblmdb/crypto.c index 57461c7..1cfa8b7 100644 --- a/libraries/liblmdb/crypto.c +++ b/libraries/liblmdb/crypto.c @@ -72,7 +72,7 @@ static int encfunc(const MDB_val *src, MDB_val *dst, const MDB_val *key, int enc int ivl, outl, rc; mdb_size_t *ptr; EVP_CIPHER_CTX ctx = {0}; - EVP_CHACHA_AEAD_CTX cactx = {0}; + EVP_CHACHA_AEAD_CTX cactx; ctx.cipher_data = &cactx; ptr = key[1].mv_data;