aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-11-05 16:10:58 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-11-05 16:10:58 +0000
commitd29a3dc66b6a7ed24d2eef0e87f8b8d54701e086 (patch)
tree04354d79bafd3a845739a35449b359c77ee00268 /src
parentcace15e3d1f7fb566516d8363749a609ae7799f1 (diff)
downloadrspamd-d29a3dc66b6a7ed24d2eef0e87f8b8d54701e086.tar.gz
rspamd-d29a3dc66b6a7ed24d2eef0e87f8b8d54701e086.zip
[Minor] One more fix for bloody openssl
Diffstat (limited to 'src')
-rw-r--r--src/libcryptobox/cryptobox.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcryptobox/cryptobox.c b/src/libcryptobox/cryptobox.c
index 3fceead66..e8bd962b7 100644
--- a/src/libcryptobox/cryptobox.c
+++ b/src/libcryptobox/cryptobox.c
@@ -571,7 +571,7 @@ rspamd_cryptobox_encrypt_ctx_len (enum rspamd_cryptobox_mode mode)
#ifndef HAVE_USABLE_OPENSSL
g_assert (0);
#else
- return sizeof (EVP_CIPHER_CTX) + CRYPTOBOX_ALIGNMENT;
+ return sizeof (EVP_CIPHER_CTX *) + CRYPTOBOX_ALIGNMENT;
#endif
}