aboutsummaryrefslogtreecommitdiff
path: root/pem_marshal.go
diff options
context:
space:
mode:
Diffstat (limited to 'pem_marshal.go')
-rw-r--r--pem_marshal.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/pem_marshal.go b/pem_marshal.go
index 54ce1e0..89bd477 100644
--- a/pem_marshal.go
+++ b/pem_marshal.go
@@ -1,16 +1,16 @@
package pki
import (
- "io"
+ "io"
)
type (
- marshalledPemBlock []byte
+ marshalledPemBlock []byte
)
// This function writes the marshalled pem block to a writer and returns the
// number of written bytes and eventual errors.
func (b marshalledPemBlock) WriteTo(stream io.Writer) (int64, error) {
- numBytes, err := stream.Write(b)
- return int64(numBytes), err
+ numBytes, err := stream.Write(b)
+ return int64(numBytes), err
}