diff options
Diffstat (limited to 'src/encoding')
| -rw-r--r-- | src/encoding/pem/pem.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/encoding/pem/pem.go b/src/encoding/pem/pem.go index 7a515fd363..dcc7416ee2 100644 --- a/src/encoding/pem/pem.go +++ b/src/encoding/pem/pem.go @@ -85,7 +85,7 @@ var colon = []byte(":") // Decode will find the next PEM formatted block (certificate, private key // etc) in the input. It returns that block and the remainder of the input. If // no PEM data is found, p is nil and the whole of the input is returned in -// rest. +// rest. Blocks must start at the beginning of a line and end at the end of a line. func Decode(data []byte) (p *Block, rest []byte) { // pemStart begins with a newline. However, at the very beginning of // the byte array, we'll accept the start string without it. |
