diff --git a/auth/confirm.go b/auth/confirm.go index 57b230e171fe1356aa048a23b3ada37bdff0944e..d6444dc3040d42c69b22049b51fe64d13fe7ab7b 100644 --- a/auth/confirm.go +++ b/auth/confirm.go @@ -79,7 +79,7 @@ func ConfirmRequestAuth(partner contact.Contact, rng io.Reader, //encrypt the payload ecrPayload, mac := cAuth.Encrypt(newPrivKey, partner.DhPubKey, - salt, ecrFmt.payload, grp) + salt, ecrFmt.data, grp) //get the fingerprint from the old ownership proof fp := cAuth.MakeOwnershipProofFP(storedContact.OwnershipProof)