Code cleanup

This commit is contained in:
Dennis Schwerdel 2016-02-02 11:00:03 +01:00
parent ed3587d423
commit 6c35047a97
2 changed files with 2 additions and 2 deletions

View File

@ -35,7 +35,7 @@ const crypto_pwhash_scryptsalsa208sha256_OPSLIMIT_INTERACTIVE: usize = 524288;
#[allow(non_upper_case_globals)] #[allow(non_upper_case_globals)]
const crypto_pwhash_scryptsalsa208sha256_MEMLIMIT_INTERACTIVE: usize = 16777216; const crypto_pwhash_scryptsalsa208sha256_MEMLIMIT_INTERACTIVE: usize = 16777216;
struct Aes256State(*mut [u8; crypto_aead_aes256gcm_STATEBYTES]); pub struct Aes256State(*mut [u8; crypto_aead_aes256gcm_STATEBYTES]);
impl Aes256State { impl Aes256State {
fn new() -> Aes256State { fn new() -> Aes256State {

View File

@ -31,7 +31,7 @@ use std::process::Command;
use device::Device; use device::Device;
use ethernet::SwitchTable; use ethernet::SwitchTable;
use ip::RoutingTable; use ip::RoutingTable;
use types::{Error, Mode, Type, Range, Table, Protocol}; use types::{Mode, Type, Range, Table, Protocol};
use cloud::GenericCloud; use cloud::GenericCloud;
use udpmessage::VERSION; use udpmessage::VERSION;
use crypto::{Crypto, CryptoMethod}; use crypto::{Crypto, CryptoMethod};