diff --git a/src/crypto.rs b/src/crypto.rs index 0521b8d..70b1992 100644 --- a/src/crypto.rs +++ b/src/crypto.rs @@ -56,16 +56,6 @@ impl Crypto { pub fn init() { } - #[inline] - pub fn sodium_version() -> String { - "0".to_string() - } - - #[inline] - pub fn aes256_available() -> bool { - true - } - #[inline] pub fn method(&self) -> u8 { match *self { diff --git a/src/main.rs b/src/main.rs index 60f2edb..56937ac 100644 --- a/src/main.rs +++ b/src/main.rs @@ -269,11 +269,9 @@ fn main() { let args: Args = Docopt::new(USAGE).and_then(|d| d.deserialize()).unwrap_or_else(|e| e.exit()); if args.flag_version { Crypto::init(); - println!("VpnCloud v{}, protocol version {}, libsodium {} (AES256: {})", + println!("VpnCloud v{}, protocol version {}", env!("CARGO_PKG_VERSION"), - VERSION, - Crypto::sodium_version(), - Crypto::aes256_available() + VERSION ); return; }