From 321d61b215169346708da3ad2b74711996771635 Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Sun, 18 Mar 2007 01:24:22 +0000 Subject: Strengthen APOP a bit (validate RFC-822 syntax) in order to fend off Leurent-style MITM attacks which are based on MD5 and APOP weaknesses. svn path=/branches/BRANCH_6-3/; revision=5057 --- fetchmail.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'fetchmail.h') diff --git a/fetchmail.h b/fetchmail.h index 0893520a..605bcb05 100644 --- a/fetchmail.h +++ b/fetchmail.h @@ -770,5 +770,8 @@ void fm_freeaddrinfo(struct addrinfo *ai); int maybe_tls(struct query *ctl); int must_tls(struct query *ctl); +/* prototype from rfc822valid.c */ +int rfc822_valid_msgid(const unsigned char *); + #endif /* fetchmail.h ends here */ -- cgit v1.2.3