From 73992371a3bc16b27b22e53d5f7ae600dea9cf60 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 13 Jan 2005 15:44:44 +0000 Subject: * Refactoring to support SHA-1. --- src/libstore/store.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libstore') diff --git a/src/libstore/store.cc b/src/libstore/store.cc index f545d52eecab..cb5967182aa8 100644 --- a/src/libstore/store.cc +++ b/src/libstore/store.cc @@ -416,7 +416,7 @@ Path addToStore(const Path & _srcPath) Path srcPath(absPath(_srcPath)); debug(format("adding `%1%' to the store") % srcPath); - Hash h; + Hash h(htMD5); { SwitchToOriginalUser sw; h = hashPath(srcPath); -- cgit 1.4.1