[wip] one-way control

This commit is contained in:
Ferdinand Schober
2024-09-29 14:04:36 +02:00
parent 81ca510d12
commit c205371dfc
10 changed files with 101 additions and 70 deletions

View File

@@ -64,6 +64,6 @@ pub(crate) fn generate_key_and_cert(path: &Path) -> Result<Certificate, Error> {
}
/* FIXME windows permissions */
let mut writer = BufWriter::new(f);
writer.write(serialized.as_bytes())?;
writer.write_all(serialized.as_bytes())?;
Ok(cert)
}