Adjust to API changes in ObjFW.

This commit is contained in:
Jonathan Schleifer 2011-06-08 23:17:25 +02:00
parent 36b485e48f
commit f322a37f75

View file

@ -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];