commit | 3d3f9f413869b949e48070b5bc593aa22cc2b8f2 | [log] [tgz] |
---|---|---|
author | Filippo Valsorda <filippo@golang.org> | Sat Nov 10 01:03:37 2018 -0500 |
committer | Filippo Valsorda <filippo@golang.org> | Mon Nov 12 20:29:54 2018 +0000 |
tree | 2c434e20ae5736c45e242b43c6be144b7e977763 | |
parent | e4dc69e5b2fd71dcaf8bd5d054eb936deb78d1fa [diff] |
cryptobyte: don't ignore bytes added to BuilderContinuations of fixed-size Builders Builders created with NewFixedBuilder were broken when used with BuilderContinuations. The length of the bytes written to the continuation would get added correctly to the parent, but the actual content would be discarded. For example, the BytesOrPanic() in TestFixedBuilderLengthPrefixed would return [00 08] instead of [00 08 ff ff ff ff ff ff ff ff]. Change-Id: I80837a9bf3562751addcb827274649d9f52fc79a Reviewed-on: https://go-review.googlesource.com/c/148882 Run-TryBot: Filippo Valsorda <filippo@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Adam Langley <agl@golang.org>
This repository holds supplementary Go cryptography libraries.
The easiest way to install is to run go get -u golang.org/x/crypto/...
. You can also manually git clone the repository to $GOPATH/src/golang.org/x/crypto
.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html.
The main issue tracker for the crypto repository is located at https://github.com/golang/go/issues. Prefix your issue with “x/crypto:” in the subject line, so it is easy to find.
Note that contributions to the cryptography package receive additional scrutiny due to their sensitive nature. Patches may take longer than normal to receive feedback.