From: Andy Polyakov Date: Tue, 18 Oct 2011 18:52:05 +0000 (+0000) Subject: fips_enc.c: assign minimal block size to bad_cipher [to avoid arithmetic X-Git-Tag: OpenSSL-fips-2_0-rc1~40 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=9f0d2e1464cc43c0b21304e11ad927f0f0fbd45a;p=oweals%2Fopenssl.git fips_enc.c: assign minimal block size to bad_cipher [to avoid arithmetic exceptions in TLS layer]. --- diff --git a/fips/utl/fips_enc.c b/fips/utl/fips_enc.c index 9ed9dbf35a..1358b1f4a4 100644 --- a/fips/utl/fips_enc.c +++ b/fips/utl/fips_enc.c @@ -102,7 +102,7 @@ static int bad_ctrl(EVP_CIPHER_CTX *ctx, int type, int arg, void *ptr) static const EVP_CIPHER bad_cipher = { 0, - 0, + 1, 0, 0, 0,