This commit is contained in:
Matthias Radestock committed 2015-07-17 10:58:01 +01:00
1 parent aa3f35e38c
commit ca523c716c
1 file changed
+1 -2
+1 -2
View File
@@ -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)