summaryrefslogtreecommitdiff
path: root/utils/tcp_connection/src/instance_challenge.rs
diff options
context:
space:
mode:
Diffstat (limited to 'utils/tcp_connection/src/instance_challenge.rs')
-rw-r--r--utils/tcp_connection/src/instance_challenge.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/tcp_connection/src/instance_challenge.rs b/utils/tcp_connection/src/instance_challenge.rs
index 12fce54..bb1fcf0 100644
--- a/utils/tcp_connection/src/instance_challenge.rs
+++ b/utils/tcp_connection/src/instance_challenge.rs
@@ -106,7 +106,7 @@ impl ConnectionInstance {
rand::TryRng::try_fill_bytes(&mut rng, &mut challenge).map_err(|e| {
TcpTargetError::Crypto(format!("Failed to generate random challenge: {}", e))
})?;
- return Ok(challenge);
+ Ok(challenge)
}
/// Accepts a challenge from the target machine to verify connection security