]> Pileus Git - ~andy/fetchmail/blobdiff - fm_md5.h
Fix typo repsonsible -> responsible.
[~andy/fetchmail] / fm_md5.h
index cc1a96878e86b2a67d54df6f92a75d44e0c6805c..8f367dc6ce3a295da605fb8c9edc00d76febe711 100644 (file)
--- a/fm_md5.h
+++ b/fm_md5.h
@@ -5,19 +5,15 @@
 
 #include <stdint.h>
 
-#ifdef HAVE_MD5_H
-#include <md5.h>
-#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 */