From 8f820c429d88f601ba6c7a614fef23b7f53eb489 Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Sat, 4 Sep 2021 11:58:43 +0200 Subject: stupidgcm: fix without_openssl build $ ./build-without-openssl.bash internal/speed/speed.go:152:14: undefined: stupidgcm.NewXchacha20poly1305 --- internal/stupidgcm/xchacha.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'internal/stupidgcm/xchacha.go') diff --git a/internal/stupidgcm/xchacha.go b/internal/stupidgcm/xchacha.go index d8668dc..eec8852 100644 --- a/internal/stupidgcm/xchacha.go +++ b/internal/stupidgcm/xchacha.go @@ -1,3 +1,5 @@ +// +build !without_openssl + // Copyright 2018 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -- cgit v1.2.3