mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-11 05:33:47 +01:00
use nick's _ARRAYSIZE abstraction
svn:r1741
This commit is contained in:
parent
47dc5cd1c8
commit
5d1510883e
@ -78,8 +78,7 @@ struct crypto_pk_env_t
|
||||
struct crypto_cipher_env_t
|
||||
{
|
||||
unsigned char key[CIPHER_KEY_LEN];
|
||||
unsigned char iv[CIPHER_IV_LEN+1];
|
||||
/* +1 because some compilers don't like a length of 0 */
|
||||
unsigned char iv[_ARRAYSIZE(CIPHER_IV_LEN)];
|
||||
aes_cnt_cipher_t *cipher;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user