Fix client cert typo.
This commit is contained in:
parent
ad92d37147
commit
1499529e62
|
@ -177,7 +177,7 @@ class TCPClient:
|
|||
if not options is None:
|
||||
ctx.set_options(options)
|
||||
if clientcert:
|
||||
context.use_certificate_file(self.clientcert)
|
||||
context.use_certificate_file(clientcert)
|
||||
self.connection = SSL.Connection(context, self.connection)
|
||||
self.ssl_established = True
|
||||
if sni:
|
||||
|
|
Loading…
Reference in New Issue