]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/contrib/sha1.cc
Use a hardcoded buffer size of 4096 to fix performance
[apt.git] / apt-pkg / contrib / sha1.cc
index b5a6a244064f21dbc2200cb8b1b51b39df929914..bf6bc6cb63ca2e5e21524a8d83a25e82bb88e5e0 100644 (file)
 #include <config.h>
 
 #include <apt-pkg/sha1.h>
-#include <apt-pkg/strutl.h>
-#include <apt-pkg/macros.h>
 
+#include <stdint.h>
 #include <string.h>
-#include <unistd.h>
-#include <inttypes.h>
                                                                        /*}}}*/
 
 // SHA1Transform - Alters an existing SHA-1 hash                       /*{{{*/