]> git.ipfire.org Git - thirdparty/openldap.git/commitdiff
ITS#9364 tweak crypto sample again
authorHoward Chu <hyc@openldap.org>
Sun, 11 Oct 2020 17:19:10 +0000 (18:19 +0100)
committerHoward Chu <hyc@openldap.org>
Sun, 11 Oct 2020 17:19:10 +0000 (18:19 +0100)
libraries/liblmdb/crypto.c

index 57461c7bf00de030a879f2b01a04a7356d50bee4..1cfa8b7fd94e0d361845f1287bb2c61a9fb66718 100644 (file)
@@ -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;