ObjOpenSSL  Check-in [7a08940b40]

Overview
Comment:Add missing autorelease call
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 7a08940b40348870d0918791e5a61f175a958c5a1a23ee1ff52c1d4558743cdd
User & Date: florob@babelmonkeys.de on 2011-10-24 00:04:22
Other Links: manifest | tags
Context
2011-10-24
00:06
Rename initWithStruct: to initWithX509Struct: to avoid potential conflicts check-in: 16079bc1a0 user: florob@babelmonkeys.de tags: trunk
00:04
Add missing autorelease call check-in: 7a08940b40 user: florob@babelmonkeys.de tags: trunk
2011-10-23
23:39
Add methods enabling certificate verification check-in: 7fa9a01744 user: florob@babelmonkeys.de tags: trunk
Changes

Modified src/SSLInvalidCertificateException.m from [c95f2e562f] to [f96ed860cc].

23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#import "SSLInvalidCertificateException.h"
#import <ObjFW/OFNotImplementedException.h>

@implementation SSLInvalidCertificateException
+ exceptionWithClass: (Class)class_
	      reason: (OFString*)reason_;
{
	return [[self alloc] initWithClass: class_
				    reason: reason_];
}

- initWithClass: (Class)class_
{
	Class c = isa;
	[self release];
	@throw [OFNotImplementedException exceptionWithClass: c







|
|







23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#import "SSLInvalidCertificateException.h"
#import <ObjFW/OFNotImplementedException.h>

@implementation SSLInvalidCertificateException
+ exceptionWithClass: (Class)class_
	      reason: (OFString*)reason_;
{
	return [[[self alloc] initWithClass: class_
				     reason: reason_] autorelease];
}

- initWithClass: (Class)class_
{
	Class c = isa;
	[self release];
	@throw [OFNotImplementedException exceptionWithClass: c