Fixing a bunch of compiler warnings.

This commit is contained in:
Robin Sommer 2011-10-06 17:46:47 -07:00
parent f1ae48ea53
commit b790856a40
7 changed files with 10 additions and 9 deletions

View file

@ -663,7 +663,7 @@ void BroFile::InitEncrypt(const char* keyfile)
unsigned char secret[EVP_PKEY_size(pub_key)];
unsigned char* psecret = secret;
unsigned long secret_len;
unsigned int secret_len;
int iv_len = EVP_CIPHER_iv_length(cipher_type);
unsigned char iv[iv_len];