Skip to content

Commit

Permalink
minor text fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
JackDoan committed May 3, 2024
1 parent d6e4b88 commit 1374014
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion noiseutil/nist.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ func (c nistCurve) DH(privkey, pubkey []byte) ([]byte, error) {
}
ecdhPrivKey, err := c.curve.NewPrivateKey(privkey)
if err != nil {
return nil, fmt.Errorf("unable to unmarshal pubkey: %w", err)
return nil, fmt.Errorf("unable to unmarshal private key: %w", err)
}

return ecdhPrivKey.ECDH(ecdhPubKey)
Expand Down

0 comments on commit 1374014

Please sign in to comment.