Adjust to recent ObjFW changes

This commit is contained in:
Jonathan Schleifer 2017-05-08 02:31:13 +02:00
parent d11fe7ad01
commit c428df9b60
No known key found for this signature in database
GPG key ID: 28D65178B37F33E3
8 changed files with 77 additions and 77 deletions

View file

@ -42,9 +42,9 @@
@implementation SSLConnectionFailedException
@synthesize SSLError = _SSLError, verifyResult = _verifyResult;
+ (instancetype)exceptionWithHost: (OFString*)host
+ (instancetype)exceptionWithHost: (OFString *)host
port: (uint16_t)port
socket: (SSLSocket*)socket
socket: (SSLSocket *)socket
SSLError: (unsigned long)SSLError
{
return [[[self alloc] initWithHost: host
@ -54,9 +54,9 @@
}
+ (instancetype)exceptionWithHost: (OFString*)host
+ (instancetype)exceptionWithHost: (OFString *)host
port: (uint16_t)port
socket: (SSLSocket*)socket
socket: (SSLSocket *)socket
SSLError: (unsigned long)SSLError
verifyResult: (long)verifyResult
{
@ -67,9 +67,9 @@
verifyResult: verifyResult] autorelease];
}
- initWithHost: (OFString*)host
- initWithHost: (OFString *)host
port: (uint16_t)port
socket: (SSLSocket*)socket
socket: (SSLSocket *)socket
SSLError: (unsigned long)SSLError
{
self = [super initWithHost: host
@ -81,9 +81,9 @@
return self;
}
- initWithHost: (OFString*)host
- initWithHost: (OFString *)host
port: (uint16_t)port
socket: (SSLSocket*)socket
socket: (SSLSocket *)socket
SSLError: (unsigned long)SSLError
verifyResult: (long)verifyResult
{
@ -97,7 +97,7 @@
return self;
}
- (OFString*)description
- (OFString *)description
{
if (_SSLError != SSL_ERROR_NONE) {
char error[512];