Descriptioncrypto/openpgp/packet: fix private key checksum
I misinterpreted http://tools.ietf.org/html/rfc4880#section-5.5.3
and implemented the sum of 16-bit values, rather than the 16-bit sum
of 8-bit values.
Thanks to Szabolcs Nagy for pointing it out.
Patch Set 1 #Patch Set 2 : diff -r 01baaa1a6b5a https://go.googlecode.com/hg/ #Patch Set 3 : diff -r 01baaa1a6b5a https://go.googlecode.com/hg/ #Patch Set 4 : diff -r a5185f942ad9 https://go.googlecode.com/hg/ #Patch Set 5 : diff -r a5185f942ad9 https://go.googlecode.com/hg/ #MessagesTotal messages: 4
|