diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-11-05 16:10:58 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-11-05 16:10:58 +0000 |
commit | d29a3dc66b6a7ed24d2eef0e87f8b8d54701e086 (patch) | |
tree | 04354d79bafd3a845739a35449b359c77ee00268 /src | |
parent | cace15e3d1f7fb566516d8363749a609ae7799f1 (diff) | |
download | rspamd-d29a3dc66b6a7ed24d2eef0e87f8b8d54701e086.tar.gz rspamd-d29a3dc66b6a7ed24d2eef0e87f8b8d54701e086.zip |
[Minor] One more fix for bloody openssl
Diffstat (limited to 'src')
-rw-r--r-- | src/libcryptobox/cryptobox.c | 2 |
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 } |