Browse Source

Added link to doc above MakeSecretConnection

pull/111/merge
Jae Kwon 9 years ago
parent
commit
9e2b138c35
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      p2p/secret_connection.go

+ 1
- 0
p2p/secret_connection.go View File

@ -42,6 +42,7 @@ type SecretConnection struct {
// Performs handshake and returns a new authenticated SecretConnection.
// Returns nil if error in handshake.
// Caller should call conn.Close()
// See docs/sts-final.pdf for more information.
func MakeSecretConnection(conn io.ReadWriteCloser, locPrivKey acm.PrivKeyEd25519) (*SecretConnection, error) {
locPubKey := locPrivKey.PubKey().(acm.PubKeyEd25519)


Loading…
Cancel
Save