aboutsummaryrefslogtreecommitdiffstats
path: root/src/lua/lua_cryptobox.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-04-23 18:39:08 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-04-23 18:39:08 +0100
commite80023401e460cdb2404eaa5e02c81a3bf566512 (patch)
treed4d0b5ecf7bca775223878cc427b88c14c93ee2b /src/lua/lua_cryptobox.c
parent6a3f845c260ab27c48f5e2568f49ecd01817e28c (diff)
downloadrspamd-e80023401e460cdb2404eaa5e02c81a3bf566512.tar.gz
rspamd-e80023401e460cdb2404eaa5e02c81a3bf566512.zip
[Minor] Fix old openssl support
Diffstat (limited to 'src/lua/lua_cryptobox.c')
-rw-r--r--src/lua/lua_cryptobox.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua/lua_cryptobox.c b/src/lua/lua_cryptobox.c
index c53ffa7f2..7f880fe2f 100644
--- a/src/lua/lua_cryptobox.c
+++ b/src/lua/lua_cryptobox.c
@@ -934,7 +934,7 @@ lua_cryptobox_hash_dtor (struct rspamd_lua_cryptobox_hash *h)
#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
EVP_MD_CTX_cleanup (h->content.c);
#else
- EVP_MD_CTX_reset (h->c);
+ EVP_MD_CTX_reset (h->content.c));
#endif
EVP_MD_CTX_destroy (h->content.c);
}