crypto/secp256k1: add workaround for go mod vendor (#21735)

Go won't vendor C files if there are no Go files present in the directory.
Workaround is to add dummy Go files.

Fixes: #20232
This commit is contained in:
Steve Ruckdashel
2020-12-08 03:47:56 -06:00
committed by GitHub
parent 581c028d18
commit 6a4e730003
8 changed files with 69 additions and 0 deletions

View File

@ -0,0 +1,7 @@
// +build dummy
// Package c contains only a C file.
//
// This Go file is part of a workaround for `go mod vendor`.
// Please see the file crypto/secp256k1/dummy.go for more information.
package contrib