aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2016-03-24 00:01:32 +0100
committerDimitri Sokolyuk <demon@dim13.org>2016-03-24 00:01:32 +0100
commit04dc81bed2efa2a3c8a580d7e58b3c5be3775764 (patch)
treee33ae78a57a80152cec5873de44bc2a0b10c88ef /main.go
parentf2483c50f52762db42eec3c785b0da1353b0b0c8 (diff)
More consistent naming
Diffstat (limited to 'main.go')
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.go b/main.go
index 4a29e62..6c69f9e 100644
--- a/main.go
+++ b/main.go
@@ -14,7 +14,7 @@ var (
route = make(Route)
server = http.Server{
Handler: http.NewServeMux(),
- TLSConfig: &tls.Config{GetCertificate: route.SNI},
+ TLSConfig: &tls.Config{GetCertificate: route.GetCertificate},
}
)