EncryptWriter: do not close underlying writer

This commit is contained in:
Alexander Neumann 2015-02-16 00:22:46 +01:00
parent 68911ef11d
commit 259389f7d1
1 changed files with 0 additions and 7 deletions

7
key.go
View File

@ -350,13 +350,6 @@ func (e *encryptWriter) Close() error {
return err return err
} }
if w, ok := e.origWr.(io.Closer); ok {
err := w.Close()
if err != nil {
return err
}
}
return nil return nil
} }