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-02.
[pf3gnuchains/gcc-fork.git]
/
libgo
/
go
/
crypto
/
ecdsa
/
ecdsa_test.go
diff --git
a/libgo/go/crypto/ecdsa/ecdsa_test.go
b/libgo/go/crypto/ecdsa/ecdsa_test.go
index
22360b5
..
45433e1
100644
(file)
--- a/
libgo/go/crypto/ecdsa/ecdsa_test.go
+++ b/
libgo/go/crypto/ecdsa/ecdsa_test.go
@@
-214,7
+214,7
@@
func TestVectors(t *testing.T) {
msg, _ := hex.DecodeString(test.msg)
sha.Reset()
sha.Write(msg)
- hashed := sha.Sum()
+ hashed := sha.Sum(
nil
)
r := fromHex(test.r)
s := fromHex(test.s)
if Verify(&pub, hashed, r, s) != test.ok {