Fix client cert typo.

This commit is contained in:
Aldo Cortesi 2013-01-18 17:07:35 +13:00
parent ad92d37147
commit 1499529e62

View File

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