Skip to content

Commit

Permalink
docs(packet): Adapt comment in marker packet implememtnation
Browse files Browse the repository at this point in the history
  • Loading branch information
lubux committed Nov 22, 2023
1 parent c10c41e commit 935a580
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openpgp/packet/marker.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ type Marker struct{}

const markerString = "PGP"

// parse just ignores the padding content.
// parse just checks if the packet contains "PGP".
func (m *Marker) parse(reader io.Reader) error {
var buffer [3]byte
if _, err := io.ReadFull(reader, buffer[:]); err != nil {
Expand Down

0 comments on commit 935a580

Please sign in to comment.