cosmetic
This commit is contained in:
1 parent
aa3f35e38c
commit
ca523c716c
1 file changed
+1
-2
+1
-2
@@ -320,8 +320,7 @@ func (res *ProtocolIntroResults) setupNoCrypto(enc *gob.Encoder, dec *gob.Decode
|
||||
}
|
||||
|
||||
func (res *ProtocolIntroResults) setupCrypto(params ProtocolIntroParams,
|
||||
enc *gob.Encoder, dec *gob.Decoder, remotePubKey []byte,
|
||||
privKey *[32]byte) {
|
||||
enc *gob.Encoder, dec *gob.Decoder, remotePubKey []byte, privKey *[32]byte) {
|
||||
var remotePubKeyArr [32]byte
|
||||
copy(remotePubKeyArr[:], remotePubKey)
|
||||
res.SessionKey = FormSessionKey(&remotePubKeyArr, privKey, params.Password)
|
||||
|
||||
Reference in new issue
Block a user