mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-20 09:06:45 +00:00
refactor: set app version when enabling remote tls issue reporting
This commit is contained in:
committed by
Michal Horejsek
parent
0fd5ca3a24
commit
e9735c6110
@ -33,7 +33,7 @@ var testLiveConfig = &ClientConfig{
|
||||
func createAndSetPinningDialer(cm *ClientManager) (*int, *PinningTLSDialer) {
|
||||
called := 0
|
||||
|
||||
dialer := NewPinningTLSDialer(NewBasicTLSDialer(), testLiveConfig.AppVersion)
|
||||
dialer := NewPinningTLSDialer(NewBasicTLSDialer())
|
||||
dialer.SetTLSIssueNotifier(func() { called++ })
|
||||
cm.SetRoundTripper(CreateTransportWithDialer(dialer))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user