mirror of https://github.com/dswd/vpncloud.git
Code cleanup
This commit is contained in:
parent
ed3587d423
commit
6c35047a97
|
@ -35,7 +35,7 @@ const crypto_pwhash_scryptsalsa208sha256_OPSLIMIT_INTERACTIVE: usize = 524288;
|
|||
#[allow(non_upper_case_globals)]
|
||||
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 {
|
||||
fn new() -> Aes256State {
|
||||
|
|
|
@ -31,7 +31,7 @@ use std::process::Command;
|
|||
use device::Device;
|
||||
use ethernet::SwitchTable;
|
||||
use ip::RoutingTable;
|
||||
use types::{Error, Mode, Type, Range, Table, Protocol};
|
||||
use types::{Mode, Type, Range, Table, Protocol};
|
||||
use cloud::GenericCloud;
|
||||
use udpmessage::VERSION;
|
||||
use crypto::{Crypto, CryptoMethod};
|
||||
|
|
Loading…
Reference in New Issue