Browse Source

Resolve a GCC warning.

master
samr7 13 years ago
parent
commit
8c11ba8851
  1. 1
      util.c

1
util.c

@ -507,6 +507,7 @@ vg_protect_crypt(int parameter_group,
salt_len = 8; salt_len = 8;
ciphertext_len = ((plaintext_len + cipher->block_size) / ciphertext_len = ((plaintext_len + cipher->block_size) /
cipher->block_size) * cipher->block_size; cipher->block_size) * cipher->block_size;
hmac_digest = NULL;
} }
if (!enc && (data_in_len != (1 + ciphertext_len + hmac_len + salt_len))) if (!enc && (data_in_len != (1 + ciphertext_len + hmac_len + salt_len)))

Loading…
Cancel
Save