call load_pkcs12 with empty string passphrase instead of None passphrase

This commit is contained in:
Yann Leboulanger 2011-07-28 22:42:03 +02:00
parent 3df4a940aa
commit c5c169ca15
1 changed files with 1 additions and 1 deletions

View File

@ -1174,7 +1174,7 @@ class Connection(CommonConnection, ConnectionHandlers):
None, conn=self, con=con, port=port,
secure_tuple=secure_tuple))
return
self.on_client_cert_passphrase(None, con, port, secure_tuple)
self.on_client_cert_passphrase('', con, port, secure_tuple)
else:
self._connect_to_next_host(retry)