aboutsummaryrefslogtreecommitdiff
path: root/paludis/util/sha1.cc
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/util/sha1.cc')
-rw-r--r--paludis/util/sha1.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/paludis/util/sha1.cc b/paludis/util/sha1.cc
index fc2b54f70..70920174f 100644
--- a/paludis/util/sha1.cc
+++ b/paludis/util/sha1.cc
@@ -21,6 +21,7 @@
#include <paludis/util/sha1.hh>
#include <paludis/util/byte_swap.hh>
+#include <paludis/util/digest_registry.hh>
#include <sstream>
#include <istream>
#include <iomanip>
@@ -209,3 +210,8 @@ SHA1::hexsum() const
return result.str();
}
+namespace
+{
+ DigestRegistry::Registration<SHA1> registration("SHA1");
+}
+