1
0
mirror of https://github.com/oauth2-proxy/oauth2-proxy.git synced 2025-06-15 00:15:00 +02:00

Initalize TLS.Config when connecting to Redis with TLS (#1296)

* init TLS.Config when connecting to Redis with TLS

* don't overwrite TLS config if it exists

* add tests for Redis with TLS

* remove hardcoded certs

* add GenerateCert func

* use GenerateCert util func

* fix issue reported by go fmt

* limit return statements in GenerateCert
This commit is contained in:
Maciej Strzelecki
2021-10-19 10:17:42 +02:00
committed by GitHub
parent ea261ca014
commit b49e62f9b2
7 changed files with 167 additions and 33 deletions

View File

@ -1,3 +1,4 @@
//go:build go1.3 && !plan9 && !solaris
// +build go1.3,!plan9,!solaris
package main