aboutsummaryrefslogtreecommitdiffstats
path: root/fetchmail.h
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2007-03-18 01:24:22 +0000
committerMatthias Andree <matthias.andree@gmx.de>2007-03-18 01:24:22 +0000
commit321d61b215169346708da3ad2b74711996771635 (patch)
tree2d214a6b6ea2a9e02dd15261fad62af157f7d2cf /fetchmail.h
parenta59128a9369bc21df6485ddd548964a7345d1008 (diff)
downloadfetchmail-321d61b215169346708da3ad2b74711996771635.tar.gz
fetchmail-321d61b215169346708da3ad2b74711996771635.tar.bz2
fetchmail-321d61b215169346708da3ad2b74711996771635.zip
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
Diffstat (limited to 'fetchmail.h')
-rw-r--r--fetchmail.h3
1 files changed, 3 insertions, 0 deletions
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 */