
31 Oct
2013
31 Oct
'13
10:51 a.m.
commit df8cbc962d330c692dc1bac3ce11e8507787131b Author: Ingy döt Net <ingy@ingy.net> Date: Wed Oct 30 16:21:06 2013 +0000 Define a max length for the HTTP Date: header --- src/tlsdate-helper.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/tlsdate-helper.h b/src/tlsdate-helper.h index 6890a88..7b6e181 100644 --- a/src/tlsdate-helper.h +++ b/src/tlsdate-helper.h @@ -89,6 +89,9 @@ int verbose; // To support our RFC 2595 wildcard verification #define RFC2595_MIN_LABEL_COUNT 3 +// Define a max length for the HTTP Date: header +#define MAX_DATE_LINE_LEN 32 + static int ca_racket; static const char *host;