aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Unterwurzacher2017-06-01 18:53:57 +0200
committerJakob Unterwurzacher2017-06-01 18:53:57 +0200
commitf44902aaaeb8f60060c2f852b66962eca1df6b99 (patch)
tree1a6d063eeb5a39a465b707469ba6ef88e0a1d5d6
parentf91ce0b00489696e5a6e3ec2f74070fc8f902c74 (diff)
Fix two comments
One out-of-date and the other with a typo.
-rw-r--r--internal/contentenc/content.go1
-rwxr-xr-xtests/canonical-benchmarks.bash2
2 files changed, 1 insertions, 2 deletions
diff --git a/internal/contentenc/content.go b/internal/contentenc/content.go
index 8220d89..524296f 100644
--- a/internal/contentenc/content.go
+++ b/internal/contentenc/content.go
@@ -76,7 +76,6 @@ func (be *ContentEnc) CipherBS() uint64 {
}
// DecryptBlocks decrypts a number of blocks
-// TODO refactor to three-param for
func (be *ContentEnc) DecryptBlocks(ciphertext []byte, firstBlockNo uint64, fileID []byte) ([]byte, error) {
cBuf := bytes.NewBuffer(ciphertext)
var err error
diff --git a/tests/canonical-benchmarks.bash b/tests/canonical-benchmarks.bash
index 8472c9a..e8a9b3b 100755
--- a/tests/canonical-benchmarks.bash
+++ b/tests/canonical-benchmarks.bash
@@ -24,7 +24,7 @@ cd "$1"
# Execute command, discard all stdout output, print elapsed time
# (to stderr, unfortunately).
function etime {
- # Make the bash builtin "time" print out only the elapse wall clock
+ # Make the bash builtin "time" print out only the elapsed wall clock
# seconds
TIMEFORMAT=%R
time "$@" > /dev/null