Skip to content

Commit

Permalink
Minor typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
connesc committed May 19, 2020
1 parent 4be8791 commit 02a9948
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ctrutil/cipher.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ type cipherReader struct {
// reached in the middle of a block.
//
// This Reader limits buffering and copies to the minimum: lookahead can only happen if the last
// requested block is incomplete. In that case, it is garanteed that the underlying Reader is never
// requested block is incomplete. In that case, it is guaranteed that the wrapped Reader is never
// read beyond the end of the incomplete block. In particular, it is safe to stop reading from this
// Reader at a block boundary and then start using the underlying Reader for something else.
// Reader at a block boundary and then start using the wrapped Reader for something else.
func NewCipherReader(src io.Reader, blockMode cipher.BlockMode) io.Reader {
blockSize := blockMode.BlockSize()

Expand Down

0 comments on commit 02a9948

Please sign in to comment.