Adjust to ObjFW changes
This commit is contained in:
parent
eed791dff1
commit
24e8ee8a50
5 changed files with 9 additions and 80 deletions
|
@ -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
|
||||
|
|
Reference in a new issue