Skip to content

Commit

Permalink
Removed unnecessary code
Browse files Browse the repository at this point in the history
This fixes teslamotors#118
  • Loading branch information
eiannone authored and sethterashima committed Jan 2, 2024
1 parent e1c70d9 commit bd191bb
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions internal/authentication/native.go
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,6 @@ func (n *NativeECDHKey) Exchange(publicBytes []byte) (Session, error) {
return nil, err
}

kdf := hmac.New(sha256.New, session.key)
kdf.Write([]byte(labelSessionInfo))

if session.gcm, err = cipher.NewGCM(block); err != nil {
return nil, err
}
Expand Down

0 comments on commit bd191bb

Please sign in to comment.