cloudflare / tls-tris

crypto/tls, now with 100% more 1.3. THE API IS NOT STABLE AND DOCUMENTATION IS NOT GUARANTEED.
Other
291 stars 51 forks source link

Makefile: fix vendoring issue for sike and sidh dependencies #178

Closed Lekensteyn closed 5 years ago

Lekensteyn commented 5 years ago

Do not vendor github.com/cloudflare/sike and github.com/henrydcase/nobs in Go 1.12 and before, that does not work when using -mod=vendor. Instead use the 'internal/' prefix as is done for golang.org/x/ packages in Go 1.12.

Go 1.13 makes it possible to use the vendor directory, so use that.

Fixes #177

Lekensteyn commented 5 years ago

(rebased on #179, once that passes I'll merge this too)