Commit 4e9a202b authored by ale's avatar ale

Update deps

parent 9b8e1392
Pipeline #1170 passed with stages
in 1 minute and 43 seconds
......@@ -2,6 +2,7 @@ package common
import (
"crypto/x509"
"fmt"
"io/ioutil"
)
......@@ -12,6 +13,8 @@ func LoadCA(path string) (*x509.CertPool, error) {
return nil, err
}
cas := x509.NewCertPool()
cas.AppendCertsFromPEM(data)
if !cas.AppendCertsFromPEM(data) {
return nil, fmt.Errorf("no certificates could be parsed in %s", path)
}
return cas, nil
}
......@@ -3,40 +3,40 @@
"ignore": "test",
"package": [
{
"checksumSHA1": "raJx5BjBbVQG0ylGSjPpi+JvqjU=",
"checksumSHA1": "pLvPnUablirQucyALgrso9hLG4E=",
"path": "git.autistici.org/ai3/go-common",
"revision": "39b1908a9e399db1a0ceebb0fe4f3d3c35298357",
"revisionTime": "2018-08-17T06:38:25Z"
"revision": "232cb4db4b1a9c57075dcdab7f2d8dfdf7590ce5",
"revisionTime": "2018-08-28T06:59:35Z"
},
{
"checksumSHA1": "kQbBWZqrXc95wodlrOKEshQVaBo=",
"path": "git.autistici.org/ai3/go-common/ldap",
"revision": "39b1908a9e399db1a0ceebb0fe4f3d3c35298357",
"revisionTime": "2018-08-17T06:38:25Z"
"revision": "232cb4db4b1a9c57075dcdab7f2d8dfdf7590ce5",
"revisionTime": "2018-08-28T06:59:35Z"
},
{
"checksumSHA1": "mfFIqmwojDqQdJvjLI3y7YCQ+2c=",
"path": "git.autistici.org/ai3/go-common/pwhash",
"revision": "39b1908a9e399db1a0ceebb0fe4f3d3c35298357",
"revisionTime": "2018-08-17T06:38:25Z"
"revision": "232cb4db4b1a9c57075dcdab7f2d8dfdf7590ce5",
"revisionTime": "2018-08-28T06:59:35Z"
},
{
"checksumSHA1": "7VBLbwaK1m/jwsk8sLsh4iD9T/s=",
"path": "git.autistici.org/ai3/go-common/serverutil",
"revision": "39b1908a9e399db1a0ceebb0fe4f3d3c35298357",
"revisionTime": "2018-08-17T06:38:25Z"
"revision": "232cb4db4b1a9c57075dcdab7f2d8dfdf7590ce5",
"revisionTime": "2018-08-28T06:59:35Z"
},
{
"checksumSHA1": "OY/kamdVCtqr00dhc+STq7ApbmA=",
"path": "git.autistici.org/ai3/go-common/userenckey",
"revision": "39b1908a9e399db1a0ceebb0fe4f3d3c35298357",
"revisionTime": "2018-08-17T06:38:25Z"
"revision": "232cb4db4b1a9c57075dcdab7f2d8dfdf7590ce5",
"revisionTime": "2018-08-28T06:59:35Z"
},
{
"checksumSHA1": "QHzKyLU57jphYBzuhl4ELbCwVX0=",
"path": "git.autistici.org/id/go-sso",
"revision": "a7ddc7fb9c9053ad8c239e6e968a6f73bb181021",
"revisionTime": "2018-08-17T07:29:35Z"
"revision": "40fdb0d57d848ea5ddafb374b35269c36cbebded",
"revisionTime": "2018-08-28T07:05:23Z"
},
{
"checksumSHA1": "yReqUM4tQkY+1YEI+L2d0SOzFWs=",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment