Fix client cert typo.

This commit is contained in:
Aldo Cortesi 2013-01-18 17:07:35 +13:00
parent ad92d37147
commit 1499529e62
1 changed files with 1 additions and 1 deletions

View File

@ -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: