From 902babdf22199d73171716e643f1ffbb65e6fb48 Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Sun, 1 Nov 2015 12:11:36 +0100 Subject: Refactor ciphertext <-> plaintext offset translation functions Move all the intelligence into the new file address_translation.go. That the calculations were spread out too much became apparent when adding the file header. This should make the code much easier to modify in the future. --- test.bash | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'test.bash') diff --git a/test.bash b/test.bash index fb849c4..976bb02 100755 --- a/test.bash +++ b/test.bash @@ -2,11 +2,10 @@ set -eux -cd cryptfs -go build -go test -cd .. +for i in ./cryptfs . +do -go build -go test + go build $i + go test $i +done -- cgit v1.2.3