Adjust to ObjOpenSSL changes.

This commit is contained in:
Jonathan Schleifer 2013-03-31 12:08:46 +02:00
parent 61654304ed
commit 2889711e69
2 changed files with 6 additions and 3 deletions

View file

@ -893,9 +893,11 @@
connectionWillUpgradeToTLS:)
withObject: self];
newSock = [[SSLSocket alloc] initWithSocket: _socket
privateKeyFile: _privateKeyFile
certificateFile: _certificateFile];
newSock = [[SSLSocket alloc] initWithSocket: _socket];
[newSock setCertificateFile: _certificateFile];
[newSock setPrivateKeyFile: _privateKeyFile];
[newSock setPrivateKeyPassphrase: _privateKeyPassphrase];
[newSock startTLS];
[_socket release];
_socket = newSock;