From af74ed9396c915b8e829757d8e76c7a61149c174 Mon Sep 17 00:00:00 2001 From: tilenmarc Date: Fri, 11 Aug 2023 15:16:14 +0200 Subject: [PATCH] Go mod fix of cgo. --- ahe-library/cgo/ahe_test.go | 2 ++ ahe-library/cgo/go.mod | 2 +- ahe-library/cgo/go.sum | 6 ++---- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ahe-library/cgo/ahe_test.go b/ahe-library/cgo/ahe_test.go index 38c3377..81097bb 100644 --- a/ahe-library/cgo/ahe_test.go +++ b/ahe-library/cgo/ahe_test.go @@ -16,6 +16,8 @@ import ( "github.com/fentec-project/gofe/abe" "github.com/stretchr/testify/assert" + + "github.com/xlab-si/ahe/ahe-library/cgo" ) var ( diff --git a/ahe-library/cgo/go.mod b/ahe-library/cgo/go.mod index 05acf9e..556e8d1 100644 --- a/ahe-library/cgo/go.mod +++ b/ahe-library/cgo/go.mod @@ -6,11 +6,11 @@ require ( github.com/fentec-project/bn256 v0.0.0-20190726093940-0d0fc8bfeed0 github.com/fentec-project/gofe v0.0.0-20220829150550-ccc7482d20ef github.com/stretchr/testify v1.7.0 + github.com/xlab-si/ahe/ahe-key-server v0.0.0-20230811130240-99cf2e6bc702 ) require ( github.com/davecgh/go-spew v1.1.0 // indirect - github.com/gorilla/mux v1.8.0 // indirect github.com/pkg/errors v0.9.1 // indirect github.com/pmezard/go-difflib v1.0.0 // indirect golang.org/x/crypto v0.0.0-20211115234514-b4de73f9ece8 // indirect diff --git a/ahe-library/cgo/go.sum b/ahe-library/cgo/go.sum index 124135c..41e1098 100644 --- a/ahe-library/cgo/go.sum +++ b/ahe-library/cgo/go.sum @@ -4,8 +4,6 @@ github.com/fentec-project/bn256 v0.0.0-20190726093940-0d0fc8bfeed0 h1:mkWVpEiA+M github.com/fentec-project/bn256 v0.0.0-20190726093940-0d0fc8bfeed0/go.mod h1:llEBqR6SDQxLj2lH10BjIYPrcoqDAFv6mhsqvHfIzlI= github.com/fentec-project/gofe v0.0.0-20220829150550-ccc7482d20ef h1:9p5/l5zk8UkCKpK1JHna7oWjWl2xi1o0lfWw7YAmrio= github.com/fentec-project/gofe v0.0.0-20220829150550-ccc7482d20ef/go.mod h1:L8BwMRmIIEVQK1Un7rpnuOhex40gk4Quu50C8v34QFc= -github.com/gorilla/mux v1.8.0 h1:i40aqfkR1h2SlN9hojwV5ZA91wcXFOvkdNIeFDP5koI= -github.com/gorilla/mux v1.8.0/go.mod h1:DVbg23sWSpFRCP0SfiEN6jmj59UnW/n46BH5rLB71So= github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= @@ -13,8 +11,8 @@ github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZN github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/testify v1.7.0 h1:nwc3DEeHmmLAfoZucVR881uASk0Mfjw8xYJ99tb5CcY= github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= -github.com/xlab-si/ahe/ahe-key-server v0.0.0-20230614145425-a4249a14b179 h1:17Kd5i3QLeCX/qAiV45lBI2EdNT7XZeoKccaFKGa0ps= -github.com/xlab-si/ahe/ahe-key-server v0.0.0-20230614145425-a4249a14b179/go.mod h1:io3t5Q9k6VKAR8U2vkTNPX80Wtf69sFbOurwZum3M6I= +github.com/xlab-si/ahe/ahe-key-server v0.0.0-20230811130240-99cf2e6bc702 h1:6U8VRIpVDZGESUE9xkrJtqN1i+PYRpC+pVR0k8VM8RY= +github.com/xlab-si/ahe/ahe-key-server v0.0.0-20230811130240-99cf2e6bc702/go.mod h1:MHqjFLTQI/Kp8NJvvco93qzgcOmmdg2Ap4qkdMboYAg= golang.org/x/crypto v0.0.0-20211115234514-b4de73f9ece8 h1:5QRxNnVsaJP6NAse0UdkRgL3zHMvCRRkrDVLNdNpdy4= golang.org/x/crypto v0.0.0-20211115234514-b4de73f9ece8/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1 h1:SrN+KX8Art/Sf4HNj6Zcz06G7VEz+7w9tdXTPOZ7+l4=