]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/contrib/md5.h
[contrib/error.cc] place a colon between errno and error text in output
[apt.git] / apt-pkg / contrib / md5.h
index 9e20f7cef0ddaae3c6e60c319dca0efd18d17e63..96c8975b46f6cc165b257f889bd1bb2f56ac5168 100644 (file)
 #ifndef APTPKG_MD5_H
 #define APTPKG_MD5_H
 
-#ifdef __GNUG__
-#pragma interface "apt-pkg/md5.h"
-#endif 
 
 #include <string>
+#include <cstring>
 #include <algorithm>
+#include <stdint.h>
 
 using std::string;
 using std::min;
@@ -58,7 +57,7 @@ class MD5SumValue
 
 class MD5Summation
 {
-   unsigned char Buf[4*4];
+   uint32_t Buf[4];
    unsigned char Bytes[2*4];
    unsigned char In[16*4];
    bool Done;