summaryrefslogtreecommitdiff
path: root/internal/stupidgcm/xchacha.go
diff options
context:
space:
mode:
authorJakob Unterwurzacher2021-09-04 11:58:43 +0200
committerJakob Unterwurzacher2021-09-07 18:14:05 +0200
commit8f820c429d88f601ba6c7a614fef23b7f53eb489 (patch)
tree551b80295c4dd773a785dd008fe90dee2c90332a /internal/stupidgcm/xchacha.go
parentc9728247edb4cb29755908629528b22c8419a11d (diff)
stupidgcm: fix without_openssl build
$ ./build-without-openssl.bash internal/speed/speed.go:152:14: undefined: stupidgcm.NewXchacha20poly1305
Diffstat (limited to 'internal/stupidgcm/xchacha.go')
-rw-r--r--internal/stupidgcm/xchacha.go2
1 files changed, 2 insertions, 0 deletions
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.