提交 9f0d2e14 编写于 作者: A Andy Polyakov

fips_enc.c: assign minimal block size to bad_cipher [to avoid arithmetic

exceptions in TLS layer].
上级 5d77cdc5
...@@ -102,7 +102,7 @@ static int bad_ctrl(EVP_CIPHER_CTX *ctx, int type, int arg, void *ptr) ...@@ -102,7 +102,7 @@ static int bad_ctrl(EVP_CIPHER_CTX *ctx, int type, int arg, void *ptr)
static const EVP_CIPHER bad_cipher = static const EVP_CIPHER bad_cipher =
{ {
0, 0,
0, 1,
0, 0,
0, 0,
0, 0,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册