Skip to content

Commit

Permalink
wire: Fix typo in comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
jrick authored Mar 19, 2024
1 parent b9d8d49 commit 2104419
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wire/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -346,15 +346,15 @@ func readElement(r io.Reader, element interface{}) error {
}
return nil

// sntrup4591651 ciphertext
// sntrup4591761 ciphertext
case *[1047]byte:
_, err := io.ReadFull(r, e[:])
if err != nil {
return err
}
return nil

// sntrup4591651 public key
// sntrup4591761 public key
case *[1218]byte:
_, err := io.ReadFull(r, e[:])
if err != nil {
Expand Down

0 comments on commit 2104419

Please sign in to comment.