added a portscan to the victim client, in theory.
This commit is contained in:
@@ -139,9 +139,7 @@ fn load_certs(path: &std::path::Path) -> Result<Vec<CertificateDer<'static>>, Bo
|
||||
|
||||
fn load_key(path: &std::path::Path) -> Result<PrivateKeyDer<'static>, Box<dyn Error>> {
|
||||
let mut reader = BufReader::new(File::open(path)?);
|
||||
|
||||
let key = rustls_pemfile::private_key(&mut reader)?.ok_or("No private key found")?;
|
||||
|
||||
Ok(key)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user