From 5f324fe6614c1cf6bc7e5c07807332c8bb23dd5c Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Thu, 7 Aug 2025 22:06:39 +0200 Subject: stupidgcm: make build tags consistent This makes building with just CGO_ENABLED=0 work. --- internal/stupidgcm/gcm_test.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'internal/stupidgcm/gcm_test.go') diff --git a/internal/stupidgcm/gcm_test.go b/internal/stupidgcm/gcm_test.go index c730a87..041dcab 100644 --- a/internal/stupidgcm/gcm_test.go +++ b/internal/stupidgcm/gcm_test.go @@ -1,5 +1,4 @@ -//go:build !without_openssl -// +build !without_openssl +//go:build cgo && !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 -- cgit v1.2.3