Skip to content

Commit

Permalink
fix: fix new cert pool for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
wadahiro committed Feb 21, 2020
1 parent 2b2a71a commit 789d668
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
NAME := aws-cli-oidc
VERSION := v0.5.0
VERSION := v0.5.1
REVISION := $(shell git rev-parse --short HEAD)

SRCS := $(shell find . -type f -name '*.go')
Expand Down
2 changes: 1 addition & 1 deletion rest/rest.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ func New(config *RestClientConfig) (*RestClient, error) {
}
caCertPool, err := x509.SystemCertPool()
if err != nil {
return nil, err
caCertPool = x509.NewCertPool()
}
caCertPool.AppendCertsFromPEM(caCert)

Expand Down

0 comments on commit 789d668

Please sign in to comment.