diff options
Diffstat (limited to 'libgo/go/crypto/cast5/cast5.go')
-rw-r--r-- | libgo/go/crypto/cast5/cast5.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libgo/go/crypto/cast5/cast5.go b/libgo/go/crypto/cast5/cast5.go index cb62e3132e8..e9d4a24e26b 100644 --- a/libgo/go/crypto/cast5/cast5.go +++ b/libgo/go/crypto/cast5/cast5.go @@ -20,7 +20,7 @@ type Cipher struct { func NewCipher(key []byte) (c *Cipher, err os.Error) { if len(key) != KeySize { - return nil, os.ErrorString("CAST5: keys must be 16 bytes") + return nil, os.NewError("CAST5: keys must be 16 bytes") } c = new(Cipher) |