summaryrefslogtreecommitdiff
path: root/src/pkg/crypto/md5
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/crypto/md5')
-rw-r--r--src/pkg/crypto/md5/md5.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/pkg/crypto/md5/md5.go b/src/pkg/crypto/md5/md5.go
index 54fddb63b..8f93fc4b3 100644
--- a/src/pkg/crypto/md5/md5.go
+++ b/src/pkg/crypto/md5/md5.go
@@ -6,10 +6,15 @@
package md5
import (
+ "crypto"
"hash"
"os"
)
+func init() {
+ crypto.RegisterHash(crypto.MD5, New)
+}
+
// The size of an MD5 checksum in bytes.
const Size = 16