diff options
| author | Gustav Westling <zegl@westling.xyz> | 2018-05-16 16:35:58 +0000 |
|---|---|---|
| committer | Ian Lance Taylor <iant@golang.org> | 2018-05-16 21:15:03 +0000 |
| commit | c3d10e64b91652bf2a65411b2cac9ed7797fb53f (patch) | |
| tree | 888548a44e78c9b8e7b09ddbec9e71a29905e03f /src/cmd/vendor/github.com | |
| parent | 594a6bde3336cc6f0cd14256e980370c56c72a90 (diff) | |
| download | go-c3d10e64b91652bf2a65411b2cac9ed7797fb53f.tar.xz | |
encoding/base32: handle NoPadding in NewDecoder
This change adds functionality to properly handle NoPadding in NewDecoder.
Removes the following expectations when using NoPadding:
* the input message length is a multiple of 8
* the input message length is 0, or longer than 7 characters
Fixes #25332
Change-Id: I7c38160df23f7e8da4f85a5629530016e7bf71f3
GitHub-Last-Rev: 68ab8d2291df5c69e647620f8ef82cc90e06db28
GitHub-Pull-Request: golang/go#25394
Reviewed-on: https://go-review.googlesource.com/113215
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/cmd/vendor/github.com')
0 files changed, 0 insertions, 0 deletions
