tls: require mutual auth only when htpasswd not available

This commit is contained in:
Ramkumar Chinchani
2019-07-20 17:30:58 -07:00
parent 066bf1b9eb
commit 36ca298507
17 changed files with 113 additions and 183 deletions
+2
View File
@@ -1,4 +1,5 @@
export GO111MODULE=on
TOP_LEVEL=$(shell git rev-parse --show-toplevel)
.PHONY: all
all: doc binary debug test check
@@ -13,6 +14,7 @@ debug: doc
.PHONY: test
test:
$(shell cd test/data; ./gen_certs.sh; cd ${TOP_LEVEL})
go test -v -race -cover -coverprofile=coverage.txt -covermode=atomic ./...
./bin/golangci-lint: