mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-30 23:53:32 +01:00
some compilers don't like an array of length zero
nick: should we remove support for IVs for now, since we don't use them and don't plan to use them? svn:r1732
This commit is contained in:
parent
158e2cf536
commit
4e0dd5bd33
@ -74,7 +74,8 @@ struct crypto_pk_env_t
|
||||
struct crypto_cipher_env_t
|
||||
{
|
||||
unsigned char key[CIPHER_KEY_LEN];
|
||||
unsigned char iv[CIPHER_IV_LEN];
|
||||
unsigned char iv[CIPHER_IV_LEN+1];
|
||||
/* +1 because some compilers don't like a length of 0 */
|
||||
aes_cnt_cipher_t *cipher;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user