]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/contrib/hashes.cc
* merged from apt--mvo
[apt.git] / apt-pkg / contrib / hashes.cc
index b17b9431989e59ffcab886c40ceff0205594578b..b725e94187faa00f352eab71676fb2753e60522d 100644 (file)
    ##################################################################### */
                                                                        /*}}}*/
 // Include Files                                                       /*{{{*/
-#ifdef __GNUG__
-#pragma implementation "apt-pkg/hashes.h"
-#endif
-
 #include <apt-pkg/hashes.h>
     
 #include <unistd.h>    
@@ -36,6 +32,7 @@ bool Hashes::AddFD(int Fd,unsigned long Size)
       Size -= Res;
       MD5.Add(Buf,Res);
       SHA1.Add(Buf,Res);
+      SHA256.Add(Buf,Res);
    }
    return true;
 }