diff --git a/netlib/tcp.py b/netlib/tcp.py index 9c5cfa642..afb7e0599 100644 --- a/netlib/tcp.py +++ b/netlib/tcp.py @@ -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: