crypto: make unit tests work with Go 1.13 (#20053)

This commit is contained in:
Daniel Liu 2024-11-29 16:08:31 +08:00
parent ad5e7d6db3
commit e1eb00ef99

View file

@ -43,14 +43,6 @@ import (
"github.com/XinFinOrg/XDPoSChain/crypto"
)
//var dumpEnc bool
//
//func init() {
// flDump := flag.Bool("dump", false, "write encrypted test message to file")
// flag.Parse()
// dumpEnc = *flDump
//}
// Ensure the KDF generates appropriately sized keys.
func TestKDF(t *testing.T) {
msg := []byte("Hello, world")