Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/openssl/openssl.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2011-10-18 22:52:05 +0400
committerAndy Polyakov <appro@openssl.org>2011-10-18 22:52:05 +0400
commit9f0d2e1464cc43c0b21304e11ad927f0f0fbd45a (patch)
tree623c291a6a8531f9ef0535a9c20df46384639a8c
parent5d77cdc591cfdc46587f18cbc6365e648fa12dd7 (diff)
fips_enc.c: assign minimal block size to bad_cipher [to avoid arithmetic
exceptions in TLS layer].
-rw-r--r--fips/utl/fips_enc.c2
1 files changed, 1 insertions, 1 deletions
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,