ObjOpenSSL  Check-in [bc41772796]

Overview
Comment:Don't cache the description of exceptions.

This was pretty pointless, as it's usually only used once.

Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: bc41772796ad5e252a45786d50598b178074d99f74fa83bcc0fb105d6a8dd4f2
User & Date: js on 2013-02-13 23:15:32
Other Links: manifest | tags
Context
2013-02-13
23:27
Don't class-swizzle to call close on super. check-in: 8a23146f8c user: js tags: trunk
23:15
Don't cache the description of exceptions. check-in: bc41772796 user: js tags: trunk
2013-02-12
18:35
Fix -[X509OID isEqual:]. check-in: 2e400eadc7 user: js tags: trunk
Changes

Modified src/SSLInvalidCertificateException.m from [5490fca0bd] to [e0db9e849d].

63
64
65
66
67
68
69
70
71
72

73
74
75


76
77
78
79
80
81
82
83
63
64
65
66
67
68
69



70



71
72

73
74
75
76
77
78
79







-
-
-
+
-
-
-
+
+
-







	[_reason release];

	[super dealloc];
}

- (OFString*)description
{
	if (_description != nil)
		return _description;

	return [OFString stringWithFormat:
	_description = [[OFString alloc] initWithFormat:
	    @"Invalid certificate! Reason: %@", _reason];

	    @"Invalid certificate in class %@! Reason: %@", [self inClass],
	    _reason];
	return _description;
}

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