We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0b8dd10 commit a06f177Copy full SHA for a06f177
1 file changed
h2s.go
@@ -175,7 +175,7 @@ func NewServer(c *Config) (*Server, error) {
175
if !certPool.AppendCertsFromPEM(pem) {
176
return nil, errors.New("h2s: create server: tls: failed to load rootCAs")
177
}
178
- tlsConfig.RootCA = certPool
+ tlsConfig.RootCAs = certPool
179
180
181
if t.CertFile != "" && t.KeyFile != "" {
0 commit comments