summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorchl <chl@openbsd.org>2012-08-19 08:45:44 +0000
committerchl <chl@openbsd.org>2012-08-19 08:45:44 +0000
commit438f728842f74309f9ed41f3473789f9458abe00 (patch)
tree2cc4e3d94cfe20ac8bef50a10edbb6c863fab75d
parentzap trailing whitespace; (diff)
downloadwireguard-openbsd-438f728842f74309f9ed41f3473789f9458abe00.tar.xz
wireguard-openbsd-438f728842f74309f9ed41f3473789f9458abe00.zip
fix an issue where too long lines were not spot properly.
issue reported by todd@ ok eric@
-rw-r--r--usr.sbin/smtpd/smtpd.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/smtpd/smtpd.h b/usr.sbin/smtpd/smtpd.h
index 9faf67c2360..7eb4d7bdf94 100644
--- a/usr.sbin/smtpd/smtpd.h
+++ b/usr.sbin/smtpd/smtpd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: smtpd.h,v 1.323 2012/08/18 20:52:36 eric Exp $ */
+/* $OpenBSD: smtpd.h,v 1.324 2012/08/19 08:45:44 chl Exp $ */
/*
* Copyright (c) 2008 Gilles Chehade <gilles@openbsd.org>
@@ -35,7 +35,7 @@
#define MAX_TAG_SIZE 32
/* SYNC WITH filter.h */
-//#define MAX_LINE_SIZE 1024
+//#define MAX_LINE_SIZE 1000
//#define MAX_LOCALPART_SIZE 128
//#define MAX_DOMAINPART_SIZE MAXHOSTNAMELEN
@@ -75,7 +75,7 @@
#define FAST_RESPONSES 2
/* max len of any smtp line */
-#define SMTP_LINE_MAX 1024
+#define SMTP_LINE_MAX 1000
#define F_STARTTLS 0x01
#define F_SMTPS 0x02