ObjOpenSSL  Check-in [81c23094bc]

Overview
Comment:Adjust exceptions to ObjFW API change.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 81c23094bc5797e26939e351b6ab6b37fc8618ba4d49602551eb1d962526264f
User & Date: js on 2013-11-22 20:15:54
Other Links: manifest | tags
Context
2014-02-03
17:31
Adapt to ObjFW changes check-in: d92685efee user: florob@babelmonkeys.de tags: trunk
2013-11-22
20:15
Adjust exceptions to ObjFW API change. check-in: 81c23094bc user: js tags: trunk
2013-06-23
11:10
Adjust to reworked exception API. check-in: 93fb0bd595 user: js tags: trunk
Changes

Modified src/SSLInvalidCertificateException.h from [eb1ea7f340] to [62fcaa9a42].

26
27
28
29
30
31
32
33

34
35
36
37
38
39
26
27
28
29
30
31
32

33
34
35
36
37
38
39







-
+







@interface SSLInvalidCertificateException: OFException
{
	OFString *_reason;
}

#ifdef OF_HAVE_PROPERTIES
@property (readonly, assign) OFString *reason;
@property (readonly, copy) OFString *reason;
#endif

+ exceptionWithReason: (OFString*)reason;
- initWithReason: (OFString*)reason;
- (OFString*)reason;
@end

Modified src/SSLInvalidCertificateException.m from [f22e54e351] to [6fabfe1bec].

70
71
72
73
74
75
76
77

78
79
70
71
72
73
74
75
76

77
78
79







-
+


{
	return [OFString stringWithFormat:
	    @"Invalid certificate! Reason: %@", _reason];
}

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