From b741617bebe1ebc7b45e1fd797fd415f44521385 Mon Sep 17 00:00:00 2001 From: Stefan Becker Date: Wed, 26 Aug 2015 06:51:06 +0300 Subject: [PATCH] openssl: fix AES_CBC crash Now sipe_tls_tester & Office365 passes with OpenSSL crypto backend. --- src/core/sipe-crypt-openssl.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/core/sipe-crypt-openssl.c b/src/core/sipe-crypt-openssl.c index e13410db..90b99ede 100755 --- a/src/core/sipe-crypt-openssl.c +++ b/src/core/sipe-crypt-openssl.c @@ -245,7 +245,6 @@ void sipe_crypt_tls_block(const guchar *key, gsize key_length, if (context) { int tmp; EVP_EncryptUpdate(context, out, &tmp, in, length); - EVP_EncryptFinal(context, out + tmp, &tmp); EVP_CIPHER_CTX_cleanup(context); g_free(context); } -- 2.11.4.GIT