From ccf1a84e417e9f7d83f31c61c44cf3851703b1e4 Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Fri, 14 Jul 2017 23:22:15 +0200 Subject: macos: make testing without openssl work properly On MacOS, building and testing without openssl is much easier. The tests should skip tests that fail because of missing openssl instead of aborting. Fixes https://github.com/rfjakob/gocryptfs/issues/123 --- internal/stupidgcm/stupidgcm_test.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'internal/stupidgcm/stupidgcm_test.go') diff --git a/internal/stupidgcm/stupidgcm_test.go b/internal/stupidgcm/stupidgcm_test.go index f652c45..b340179 100644 --- a/internal/stupidgcm/stupidgcm_test.go +++ b/internal/stupidgcm/stupidgcm_test.go @@ -1,3 +1,5 @@ +// +build !without_openssl + // We compare against Go's built-in GCM implementation. Since stupidgcm only // supports 128-bit IVs and Go only supports that from 1.5 onward, we cannot // run these tests on older Go versions. -- cgit v1.2.3