Adjust to API changes in ObjFW.
This commit is contained in:
parent
36b485e48f
commit
f322a37f75
1 changed files with 2 additions and 2 deletions
|
@ -85,10 +85,10 @@ static SSL_CTX *ctx;
|
|||
}
|
||||
|
||||
- (void)connectToHost: (OFString*)host
|
||||
onPort: (uint16_t)port
|
||||
port: (uint16_t)port
|
||||
{
|
||||
[super connectToHost: host
|
||||
onPort: port];
|
||||
port: port];
|
||||
|
||||
if ((ssl = SSL_new(ctx)) == NULL || !SSL_set_fd(ssl, sock)) {
|
||||
[super close];
|
||||
|
|
Reference in a new issue