X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=fm_md5.h;h=8f367dc6ce3a295da605fb8c9edc00d76febe711;hb=f16d8d23439b5569f0c2e1af22494708b507f277;hp=cc1a96878e86b2a67d54df6f92a75d44e0c6805c;hpb=634a06d3bb6f1cbc4f318421f889773fe8110f37;p=~andy%2Ffetchmail diff --git a/fm_md5.h b/fm_md5.h index cc1a9687..8f367dc6 100644 --- a/fm_md5.h +++ b/fm_md5.h @@ -5,19 +5,15 @@ #include -#ifdef HAVE_MD5_H -#include -#else #include "fetchmail.h" -#ifndef HEADER_MD5_H -/* Try to avoid clashes with OpenSSL */ -#define HEADER_MD5_H -#endif struct MD5Context { uint32_t buf[4]; uint32_t bits[2]; - unsigned char in[64]; + union { + unsigned char in[64]; + uint32_t in32[16]; + } u; }; void MD5Init(struct MD5Context *context); @@ -30,5 +26,4 @@ void MD5Transform(uint32_t buf[4], uint32_t const in[16]); */ typedef struct MD5Context MD5_CTX; -#endif #endif /* !MD5_H */