ObjOpenSSL  Diff

Differences From Artifact [35a1cf06ce]:

To Artifact [8b98c5bd7a]:


26
27
28
29
30
31
32





33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
#import "SSLInvalidCertificateException.h"

#import <ObjFW/macros.h>

@implementation SSLInvalidCertificateException
@synthesize reason = _reason;






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

- init
{
	@try {
		[self doesNotRecognizeSelector: _cmd];
	} @catch (id e) {
		[self release];
		@throw e;
	}

	abort();
}

- initWithReason: (OFString *)reason
{
	self = [super init];

	@try {







>
>
>
>
>
|






<
<
<
<
<
<
|
<







26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44






45

46
47
48
49
50
51
52
#import "SSLInvalidCertificateException.h"

#import <ObjFW/macros.h>

@implementation SSLInvalidCertificateException
@synthesize reason = _reason;

+ (instancetype)exception
{
	OF_UNRECOGNIZED_SELECTOR
}

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

- init
{






	OF_INVALID_INIT_METHOD

}

- initWithReason: (OFString *)reason
{
	self = [super init];

	@try {