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

@ -30,7 +30,7 @@
@implementation SSLInvalidCertificateException
@synthesize reason = _reason;
+ exceptionWithReason: (OFString*)reason
+ exceptionWithReason: (OFString *)reason
{
return [[[self alloc] initWithReason: reason] autorelease];
}
@ -47,7 +47,7 @@
abort();
}
- initWithReason: (OFString*)reason
- initWithReason: (OFString *)reason
{
self = [super init];
@ -68,7 +68,7 @@
[super dealloc];
}
- (OFString*)description
- (OFString *)description
{
return [OFString stringWithFormat:
@"Invalid certificate! Reason: %@", _reason];