Commit graph

76 commits

Author SHA1 Message Date
272a6f4c7f
Add SSLConnectionFailedException
This way, when an SSLSocket is passed where an OFTCPSocket is expected,
the description will still contain the error and no special code for
SSLSocket is necessary.
2016-07-09 23:24:03 +02:00
7c85e21d8f
Change webkeks.org -> heap.zone
While at it, also update the copyright years where they were incomplete.
2016-07-09 22:19:20 +02:00
24e8ee8a50
Adjust to ObjFW changes 2016-03-06 18:48:01 +01:00
eed791dff1
Conform to OFTLSSocket
This also introduces automatic certificate verification and enables it
by default, as required by OFTLSSocket.

There are still TODOs until OFTLSSocket is fully implemented.
2015-05-24 21:33:09 +02:00
f5b340106d
Adjust to ObjFW changes 2015-05-07 23:29:53 +02:00
ba8365204b
Adjust to ObjFW changes 2015-03-01 20:49:50 +01:00
bffab74530 Adjust to ObjFW changes 2015-01-05 22:43:09 +01:00
5031d03707 Adjust to ObjFW changes 2014-06-03 21:33:29 +02:00
Florian Zeitz
89630e5a13 Adapt to ObjFW changes 2014-02-03 18:31:57 +01:00
e763339789 Adjust exceptions to ObjFW API change. 2013-11-22 21:15:54 +01:00
bdd815ec47 Adjust to reworked exception API. 2013-06-23 13:10:33 +02:00
ecbaa8ed20 Conform to OFTLSSocket.
Still a few FIXMEs / TODOs.
2013-03-31 12:04:53 +02:00
89c705d9ed Replace BOOL with bool. 2013-03-04 18:37:09 +01:00
8eeb6a72d1 Update to recent ObjFW changes. 2013-02-22 00:41:11 +01:00
80b2cd676d Don't class-swizzle to call close on super. 2013-02-14 00:27:13 +01:00
eff94d1c96 Don't cache the description of exceptions.
This was pretty pointless, as it's usually only used once.
2013-02-14 00:15:32 +01:00
644461e602 Fix -[X509OID isEqual:]. 2013-02-12 19:35:28 +01:00
bb240ea8aa Prefix all ivars with an underscore. 2013-02-12 18:49:20 +01:00
fa191aa0dd Update copyright. 2013-01-19 01:36:16 +01:00
380d99c7dc Make it possible to request client certificates. 2013-01-19 00:33:51 +01:00
Florian Zeitz
9ce891d19b Adjust to recent ObjFW changes. 2013-01-12 23:46:13 +01:00
20253c05c6 Adjust to recent ObjFW changes. 2012-12-19 22:59:32 +01:00
dd6076f1af Set of_tls_socket_class. 2012-12-13 21:55:31 +01:00
0df1e62ff4 configure: Don't use -Wcast-align.
The OpenSSL headers break -Wcast-align.
2012-11-21 23:26:06 +01:00
394389b6c1 Add a proper build system. 2012-11-08 14:20:03 +01:00
ce3b9a11cd Use the thread object's address as thread id.
This at least works inside OFThreads. The previous solution to use a
pthread_t was not portable, as on many systems, pthread_t is a struct.
2012-11-08 14:19:44 +01:00
02478205c7 Adjust to recent ObjFW changes. 2012-10-27 20:23:30 +02:00
34b09ca864 Adjust to latest ObjFW changes. 2012-09-20 02:14:04 +02:00
efbe329768 Indention. 2012-09-17 17:51:40 +02:00
Florian Zeitz
1ef41f4eb6 Fix uninitialized access (random error message) in certificate verification 2012-09-17 16:50:33 +02:00
Florian Zeitz
1aa89e25dd Return 0 on reads where the SSL layer needs more data to proceed 2012-09-17 16:27:16 +02:00
430bde693e Don't access isa directly. 2012-07-12 05:09:43 +02:00
edadc4878b Adjust to latest ObjFW API changes. 2012-06-10 15:34:06 +02:00
935b6558f3 Fix copyright. 2012-03-20 22:53:57 +01:00
17d95a2347 Nicer SSLInvalidCertificateException description. 2012-03-20 22:47:06 +01:00
c089411ad3 Change URL in copyright to Git repository. 2012-03-20 22:45:01 +01:00
42edf3f195 Fix properties in exceptions. 2012-02-01 14:50:00 +01:00
309b16bf5d Update Xcode project. 2012-01-26 12:42:05 +01:00
8ab05e111a Fix a missing copy. 2012-01-25 20:33:40 +01:00
Florian Zeitz
38cd6bd401 Allow initializing with private key and certificate 2012-01-25 16:42:23 +01:00
Florian Zeitz
8c3b57e107 Restore ObjC1 compatibility 2012-01-16 23:26:46 +01:00
Florian Zeitz
820f0a04d1 Store objects in variables of proper type 2011-12-21 21:02:32 +01:00
Florian Zeitz
bb74e6cfd8 Update to work with OFString changes 2011-11-20 21:27:34 +01:00
22ce8a2a8c Cleanup and fix X509Certificate. 2011-11-04 20:45:26 +01:00
Florian Zeitz
165ee6acca Implement -description for X509Certificate 2011-11-02 01:25:36 +01:00
Florian Zeitz
3b0fbe7868 Add methods for easier certificate verification 2011-11-01 16:09:29 +01:00
Florian Zeitz
53932c0acb Cache subject, issuer and SANs 2011-11-01 15:36:17 +01:00
Florian Zeitz
38d625a887 Add defines for some common OIDs 2011-10-30 00:50:58 +02:00
Florian Zeitz
4852272bcf Rename initWithStruct: to initWithX509Struct: to avoid potential conflicts 2011-10-24 02:06:41 +02:00
Florian Zeitz
5e38932ed3 Add missing autorelease call 2011-10-24 02:04:22 +02:00