mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-06 12:33:44 +02:00
corrected comment
This commit is contained in:
parent
392d0a2b2a
commit
a178a23ee7
1 changed files with 2 additions and 3 deletions
|
@ -64,9 +64,8 @@ pub trait ApplicationLayer: Sized {
|
||||||
|
|
||||||
/// Check whether a new session should be accepted.
|
/// Check whether a new session should be accepted.
|
||||||
///
|
///
|
||||||
/// On success a tuple of local session ID, static secret, and associated object is returned. The
|
/// On success a tuple of local session ID, psk, and associated object is returned.
|
||||||
/// static secret is whatever results from agreement between the local and remote static public
|
/// Set psk to all zeros if one is not in use with the remote party.
|
||||||
/// keys.
|
|
||||||
///
|
///
|
||||||
/// When `accept_new_session` is called, `remote_static_public` and `remote_metadata` have not yet been
|
/// When `accept_new_session` is called, `remote_static_public` and `remote_metadata` have not yet been
|
||||||
/// authenticated. As such avoid mutating state until OkNewSession(Session) is returned, as the connection
|
/// authenticated. As such avoid mutating state until OkNewSession(Session) is returned, as the connection
|
||||||
|
|
Loading…
Add table
Reference in a new issue