summaryrefslogtreecommitdiffstats
path: root/src/handshake/noise.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/handshake/noise.rs')
-rw-r--r--src/handshake/noise.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/handshake/noise.rs b/src/handshake/noise.rs
index 2f8f67e..8e8f517 100644
--- a/src/handshake/noise.rs
+++ b/src/handshake/noise.rs
@@ -457,7 +457,7 @@ pub fn create_response<T: Copy, R: RngCore + CryptoRng>(
Ok(KeyPair {
birth: Instant::now(),
- confirmed: false,
+ initiator: false,
send: Key {
id: sender,
key: key_send.into(),
@@ -532,7 +532,7 @@ pub fn consume_response<T: Copy>(
None, // no response message
Some(KeyPair {
birth: Instant::now(),
- confirmed: true,
+ initiator: true,
send: Key {
id: sender,
key: key_send.into(),