forked from quic-go/quic-go
copy the GetCertificate callback when creating the qtls.Config
This commit is contained in:
@@ -24,8 +24,7 @@ func tlsConfigToQtlsConfig(c *tls.Config) *qtls.Config {
|
|||||||
Time: c.Time,
|
Time: c.Time,
|
||||||
Certificates: c.Certificates,
|
Certificates: c.Certificates,
|
||||||
NameToCertificate: c.NameToCertificate,
|
NameToCertificate: c.NameToCertificate,
|
||||||
// TODO: make GetCertificate work
|
GetCertificate: c.GetCertificate,
|
||||||
// GetCertificate: c.GetCertificate,
|
|
||||||
GetClientCertificate: c.GetClientCertificate,
|
GetClientCertificate: c.GetClientCertificate,
|
||||||
// TODO: make GetConfigForClient work
|
// TODO: make GetConfigForClient work
|
||||||
// GetConfigForClient: c.GetConfigForClient,
|
// GetConfigForClient: c.GetConfigForClient,
|
||||||
|
|||||||
Reference in New Issue
Block a user