aboutsummaryrefslogtreecommitdiffstats
path: root/g10/parse-packet.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2018-03-21 18:45:31 +0000
committerWerner Koch <[email protected]>2018-03-21 18:45:31 +0000
commit34ec0125614674725cb78cf9f8d5e6b0f8c64064 (patch)
treeae7ba2a89f01b90caaa4a2c832bcb0b4e9d736f4 /g10/parse-packet.c
parentgpg: Fix out-of-bound read in subpacket enumeration (diff)
downloadgnupg-34ec0125614674725cb78cf9f8d5e6b0f8c64064.tar.gz
gnupg-34ec0125614674725cb78cf9f8d5e6b0f8c64064.zip
doc: Typo fix in comment.
--
Diffstat (limited to 'g10/parse-packet.c')
-rw-r--r--g10/parse-packet.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/g10/parse-packet.c b/g10/parse-packet.c
index db4e3ab69..a64d4f723 100644
--- a/g10/parse-packet.c
+++ b/g10/parse-packet.c
@@ -964,10 +964,10 @@ skip_packet (IOBUF inp, int pkttype, unsigned long pktlen, int partial)
}
-/* Read PKTLEN bytes form INP and return them in a newly allocated
- buffer. In case of an error (including reading fewer than PKTLEN
- bytes from INP before EOF is returned), NULL is returned and an
- error message is logged. */
+/* Read PKTLEN bytes from INP and return them in a newly allocated
+ * buffer. In case of an error (including reading fewer than PKTLEN
+ * bytes from INP before EOF is returned), NULL is returned and an
+ * error message is logged. */
static void *
read_rest (IOBUF inp, size_t pktlen)
{