mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-27 02:24:18 +00:00
Fix client cert typo.
This commit is contained in:
parent
ad92d37147
commit
1499529e62
@ -177,7 +177,7 @@ class TCPClient:
|
|||||||
if not options is None:
|
if not options is None:
|
||||||
ctx.set_options(options)
|
ctx.set_options(options)
|
||||||
if clientcert:
|
if clientcert:
|
||||||
context.use_certificate_file(self.clientcert)
|
context.use_certificate_file(clientcert)
|
||||||
self.connection = SSL.Connection(context, self.connection)
|
self.connection = SSL.Connection(context, self.connection)
|
||||||
self.ssl_established = True
|
self.ssl_established = True
|
||||||
if sni:
|
if sni:
|
||||||
|
Loading…
Reference in New Issue
Block a user