ObjOpenSSL  Diff

Differences From Artifact [6fabfe1bec]:

To Artifact [4caf75130c]:


24
25
26
27
28
29
30


31
32
33
34
35
36
37
#include <stdlib.h>

#import "SSLInvalidCertificateException.h"

#import <ObjFW/macros.h>

@implementation SSLInvalidCertificateException


+ exceptionWithReason: (OFString*)reason
{
	return [[[self alloc] initWithReason: reason] autorelease];
}

- init
{







>
>







24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#include <stdlib.h>

#import "SSLInvalidCertificateException.h"

#import <ObjFW/macros.h>

@implementation SSLInvalidCertificateException
@synthesize reason = _reason;

+ exceptionWithReason: (OFString*)reason
{
	return [[[self alloc] initWithReason: reason] autorelease];
}

- init
{
67
68
69
70
71
72
73
74
75
76
77
78
79
}

- (OFString*)description
{
	return [OFString stringWithFormat:
	    @"Invalid certificate! Reason: %@", _reason];
}

- (OFString*)reason
{
	OF_GETTER(_reason, true)
}
@end







<
<
<
<
<

69
70
71
72
73
74
75





76
}

- (OFString*)description
{
	return [OFString stringWithFormat:
	    @"Invalid certificate! Reason: %@", _reason];
}





@end