Adjust to ObjOpenSSL changes.
This commit is contained in:
parent
61654304ed
commit
2889711e69
2 changed files with 6 additions and 3 deletions
|
@ -157,6 +157,7 @@
|
|||
OFXMLElementBuilder *_elementBuilder, *_oldElementBuilder;
|
||||
OFString *_username, *_password, *_server, *_resource;
|
||||
OFString *_privateKeyFile, *_certificateFile;
|
||||
const char *_privateKeyPassphrase;
|
||||
OFString *_domain, *_domainToASCII;
|
||||
XMPPJID *_JID;
|
||||
uint16_t _port;
|
||||
|
|
|
@ -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