From a750bf8686e0da3407242859197312bdd8a45a90 Mon Sep 17 00:00:00 2001 From: Martin Holst Swende Date: Tue, 22 Jun 2021 15:21:11 +0200 Subject: [PATCH] crypto: fix build directives --- crypto/secp256k1/panic_cb.go | 3 ++- crypto/secp256k1/scalar_mult_cgo.go | 3 ++- crypto/secp256k1/secp256.go | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/crypto/secp256k1/panic_cb.go b/crypto/secp256k1/panic_cb.go index 262846fd8..5da2bea37 100644 --- a/crypto/secp256k1/panic_cb.go +++ b/crypto/secp256k1/panic_cb.go @@ -2,7 +2,8 @@ // Use of this source code is governed by a BSD-style license that can be found in // the LICENSE file. -// +build !gofuzz cgo +// +build !gofuzz +// +build cgo package secp256k1 diff --git a/crypto/secp256k1/scalar_mult_cgo.go b/crypto/secp256k1/scalar_mult_cgo.go index 34998ad1a..f28a1c782 100644 --- a/crypto/secp256k1/scalar_mult_cgo.go +++ b/crypto/secp256k1/scalar_mult_cgo.go @@ -2,7 +2,8 @@ // Use of this source code is governed by a BSD-style license that can be found in // the LICENSE file. -// +build !gofuzz cgo +// +build !gofuzz +// +build cgo package secp256k1 diff --git a/crypto/secp256k1/secp256.go b/crypto/secp256k1/secp256.go index 9e942ac6f..a1bcf7796 100644 --- a/crypto/secp256k1/secp256.go +++ b/crypto/secp256k1/secp256.go @@ -2,7 +2,8 @@ // Use of this source code is governed by a BSD-style license that can be found in // the LICENSE file. -// +build !gofuzz cgo +// +build !gofuzz +// +build cgo // Package secp256k1 wraps the bitcoin secp256k1 C library. package secp256k1