fix cert forwarding

This commit is contained in:
Maximilian Hils 2014-10-09 02:47:32 +02:00
parent 7c56a3bb01
commit d0809a210b

View File

@ -234,7 +234,7 @@ class ConnectionHandler:
def find_cert(self):
if self.config.certforward and self.server_conn.ssl_established:
return self.server_conn.cert, self.config.certstore.gen_pkey(self.server_conn.cert)
return self.server_conn.cert, self.config.certstore.gen_pkey(self.server_conn.cert), None
else:
host = self.server_conn.address.host
sans = []