OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
libgo: Update to weekly.2011-12-22.
[pf3gnuchains/gcc-fork.git]
/
libgo
/
go
/
crypto
/
aes
/
aes_test.go
diff --git
a/libgo/go/crypto/aes/aes_test.go
b/libgo/go/crypto/aes/aes_test.go
index
aa1d0df
..
e500c66
100644
(file)
--- a/
libgo/go/crypto/aes/aes_test.go
+++ b/
libgo/go/crypto/aes/aes_test.go
@@
-356,7
+356,7
@@
func BenchmarkEncrypt(b *testing.B) {
tt := encryptTests[0]
c, err := NewCipher(tt.key)
if err != nil {
-
panic("NewCipher"
)
+
b.Fatal("NewCipher:", err
)
}
out := make([]byte, len(tt.in))
b.StartTimer()