Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(214)

Unified Diff: src/pkg/crypto/openpgp/packet/signature.go

Issue 5448065: code review 5448065: Add a []byte argument to hash.Hash to allow an allocati... (Closed)
Patch Set: diff -r 5ef46981bf5e https://go.googlecode.com/hg/ Created 13 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/pkg/crypto/openpgp/packet/signature.go
===================================================================
--- a/src/pkg/crypto/openpgp/packet/signature.go
+++ b/src/pkg/crypto/openpgp/packet/signature.go
@@ -423,7 +423,7 @@
}
h.Write(sig.HashSuffix)
- digest = h.Sum()
+ digest = h.Sum(nil)
copy(sig.HashTag[:], digest)
return
}
« no previous file with comments | « src/pkg/crypto/openpgp/packet/public_key.go ('k') | src/pkg/crypto/openpgp/packet/symmetrically_encrypted.go » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b