From 4863db4ca50f5dfe716f7ad8c53ab3609f3cf8f9 Mon Sep 17 00:00:00 2001 From: Lukas Burkhalter Date: Wed, 22 Nov 2023 13:42:55 +0100 Subject: [PATCH] docs(packet): Adapt comment in marker packet implementation --- openpgp/packet/marker.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openpgp/packet/marker.go b/openpgp/packet/marker.go index acafc14bc..1ee378ba3 100644 --- a/openpgp/packet/marker.go +++ b/openpgp/packet/marker.go @@ -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 {