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