diff options
author | Mathias Hall-Andersen <mathias@hall-andersen.dk> | 2019-08-28 12:14:32 +0200 |
---|---|---|
committer | Mathias Hall-Andersen <mathias@hall-andersen.dk> | 2019-08-28 12:14:32 +0200 |
commit | 8e1a2cabd355245daa2578d2c934e955a4e2d866 (patch) | |
tree | 200c447b83c5c5af0d94ef571da386fa8c2f401c /src/types/keys.rs | |
parent | Start worker threads for device (diff) | |
download | wireguard-rs-8e1a2cabd355245daa2578d2c934e955a4e2d866.tar.xz wireguard-rs-8e1a2cabd355245daa2578d2c934e955a4e2d866.zip |
Renamed confirmed -> initator on keypair
Done to reflect that the property is immutable,
unlike the "confirmed" field on the decryption state.
Diffstat (limited to '')
-rw-r--r-- | src/types/keys.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/types/keys.rs b/src/types/keys.rs index 0b52d18..c39816c 100644 --- a/src/types/keys.rs +++ b/src/types/keys.rs @@ -20,7 +20,7 @@ impl PartialEq for Key { #[derive(Debug, Clone, Copy)] pub struct KeyPair { pub birth: Instant, // when was the key-pair created - pub confirmed: bool, // has the key-pair been confirmed? + pub initiator: bool, // has the key-pair been confirmed? pub send: Key, // key for outbound messages pub recv: Key, // key for inbound messages -}
\ No newline at end of file +} |