Merge remote branch 'sebastian/bug1254'

This commit is contained in:
Nick Mathewson
2010-02-22 12:45:01 -05:00
2 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -268,7 +268,7 @@ aes_free_cipher(aes_cnt_cipher_t *cipher)
#ifdef USE_OPENSSL_EVP
EVP_CIPHER_CTX_cleanup(&cipher->key);
#endif
memset(cipher, 0, sizeof(cipher));
memset(cipher, 0, sizeof(aes_cnt_cipher_t));
tor_free(cipher);
}