baja-cleanup: tidied up commenting around server name generation
@@ -349,7 +349,7 @@ impl Baja {
// temporary problems on TrustZone, so instead of randomly generating
// it, we're using a fixed value for now. This **does not** compromise
// the security of the system in any way.
- let name = {
+ //
// let mut temp = vec![0; 3];
// let rng = SystemRandom::new();
// rng.fill(&mut temp).map_err(|_| "Error generating random bytes")?;
@@ -358,8 +358,8 @@ impl Baja {
// let full_string =
// format!("a{:02x}{:02x}{:02x}", temp[0], temp[1], temp[2]);
// full_string[..7].to_string()
- FIXED_SERVER_NAME.to_string()
- };
+
+ let name = FIXED_SERVER_NAME.to_string();
let server_certificate_buffer = generate_certificate(
name.clone().into_bytes(),
