]> Cypherpunks repositories - gostls13.git/commit
asn1 incorrectly encoded signed integers. When determining the
authorNicholas Waples <nwaples@gmail.com>
Mon, 9 Aug 2010 14:25:54 +0000 (10:25 -0400)
committerAdam Langley <agl@golang.org>
Mon, 9 Aug 2010 14:25:54 +0000 (10:25 -0400)
commite2c7e53dcf0202895ba1e472ff9729fba37251ab
tree6c6e132e2ee2eeee3d07e1bbaa83631ea55cb520
parentbc4a9caa415bc9bb623961ce8432aa0b2df10028
asn1 incorrectly encoded signed integers. When determining the
encoded length it was not taking into account the sign bit.

Fixes #997.

R=agl1, gri
CC=golang-dev
https://golang.org/cl/1870047
src/pkg/asn1/marshal.go
src/pkg/asn1/marshal_test.go