Adjust to ObjFW changes

This commit is contained in:
Jonathan Schleifer 2016-03-06 18:48:01 +01:00
parent eed791dff1
commit 24e8ee8a50
No known key found for this signature in database
GPG key ID: 338C3541DB54E169
5 changed files with 9 additions and 80 deletions

View file

@ -28,6 +28,8 @@
#import <ObjFW/macros.h>
@implementation SSLInvalidCertificateException
@synthesize reason = _reason;
+ exceptionWithReason: (OFString*)reason
{
return [[[self alloc] initWithReason: reason] autorelease];
@ -71,9 +73,4 @@
return [OFString stringWithFormat:
@"Invalid certificate! Reason: %@", _reason];
}
- (OFString*)reason
{
OF_GETTER(_reason, true)
}
@end