fips_enc.c: assign minimal block size to bad_cipher [to avoid arithmetic
authorAndy Polyakov <appro@openssl.org>
Tue, 18 Oct 2011 18:52:05 +0000 (18:52 +0000)
committerAndy Polyakov <appro@openssl.org>
Tue, 18 Oct 2011 18:52:05 +0000 (18:52 +0000)
exceptions in TLS layer].

fips/utl/fips_enc.c

index 9ed9dbf..1358b1f 100644 (file)
@@ -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,