]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Fix old openssl support
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 23 Apr 2019 17:39:08 +0000 (18:39 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 23 Apr 2019 17:39:08 +0000 (18:39 +0100)
src/lua/lua_cryptobox.c

index c53ffa7f2eb0947645daf2515bba8a26caaf5289..7f880fe2f080aeb57e43958b7edfa077309d942c 100644 (file)
@@ -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);
        }