Adjust to ObjOpenSSL changes.
This commit is contained in:
parent
61654304ed
commit
2889711e69
2 changed files with 6 additions and 3 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue