summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortobhe <tobhe@openbsd.org>2020-11-22 17:47:50 +0000
committertobhe <tobhe@openbsd.org>2020-11-22 17:47:50 +0000
commit405b3d6b5a8798e655b5cbbd9be4911a9700f762 (patch)
treee28619e7b0e2fee6c6c449eba2462bed4cdf455c
parentadd a comma; (diff)
downloadwireguard-openbsd-405b3d6b5a8798e655b5cbbd9be4911a9700f762.tar.xz
wireguard-openbsd-405b3d6b5a8798e655b5cbbd9be4911a9700f762.zip
Fix comment typo.
-rw-r--r--sbin/iked/ikev2_pld.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/iked/ikev2_pld.c b/sbin/iked/ikev2_pld.c
index cb3a1a2ceb5..d1daf1b2689 100644
--- a/sbin/iked/ikev2_pld.c
+++ b/sbin/iked/ikev2_pld.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ikev2_pld.c,v 1.111 2020/11/21 19:23:53 tobhe Exp $ */
+/* $OpenBSD: ikev2_pld.c,v 1.112 2020/11/22 17:47:50 tobhe Exp $ */
/*
* Copyright (c) 2019 Tobias Heider <tobias.heider@stusta.de>
@@ -167,7 +167,7 @@ ikev2_validate_pld(struct iked_message *msg, size_t offset, size_t left,
}
/*
* Sanity check the specified payload size, it must
- * be at last the size of the generic payload header.
+ * be at least the size of the generic payload header.
*/
if (pld_length < sizeof(*pld)) {
log_debug("%s: malformed payload: shorter than minimum "