aboutsummaryrefslogtreecommitdiff
path: root/paludis/util/sha256.cc
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/util/sha256.cc')
-rw-r--r--paludis/util/sha256.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/paludis/util/sha256.cc b/paludis/util/sha256.cc
index d9900f573..b44b11fe5 100644
--- a/paludis/util/sha256.cc
+++ b/paludis/util/sha256.cc
@@ -19,6 +19,7 @@
#include "sha256.hh"
#include <paludis/util/attributes.hh>
+#include <paludis/util/digest_registry.hh>
#include <istream>
#include <iomanip>
#include <sstream>
@@ -226,3 +227,8 @@ paludis::SHA256::_k[64] = {
0x90befffa, 0xa4506ceb, 0xbef9a3f7, 0xc67178f2
};
+namespace
+{
+ DigestRegistry::Registration<SHA256> registration("SHA256");
+}
+