fix some warning
This commit is contained in:
parent
b5f21063ad
commit
1467b8ba68
@ -1,7 +1,5 @@
|
||||
use std::{convert::From, net::AddrParseError, string::ParseError};
|
||||
|
||||
use aes::cipher::typenum::IsLessOrEqual;
|
||||
|
||||
pub type Result<T> = std::result::Result<T, SDLanError>;
|
||||
|
||||
#[derive(Debug)]
|
||||
|
||||
@ -8,7 +8,6 @@ use rsa::{Pkcs1v15Encrypt, RsaPrivateKey, RsaPublicKey};
|
||||
|
||||
use std::fs::File;
|
||||
use std::io::Read;
|
||||
use std::path::Path;
|
||||
|
||||
pub fn gen_rsa_keys(mut dirpath: &str) {
|
||||
if dirpath.len() == 0 {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user