Commit graph

68 commits

Author SHA1 Message Date
9c45593f47
Adjust to ObjFW changes 2018-07-29 18:52:40 +02:00
3b702e2cb6
Add support for client-side SNI 2018-02-25 21:26:30 +01:00
fefe0e570d
Adjust to ObjFW changes 2017-10-01 22:13:54 +02:00
ec17d44407
Only check if SSL_OP_NO_SSLv2 is set if it is != 0 2017-08-01 21:14:38 +02:00
2ef2132444
Fix compilation with GCC 2017-08-01 21:03:59 +02:00
2905f7cd66
Fix compilation with OpenSSL 1.1 2017-08-01 20:49:39 +02:00
ea1fd23be5
Adjust to ObjFW changes 2017-07-23 01:09:18 +02:00
10d492a94a
Adjust to ObjFW changes 2017-07-02 14:22:03 +02:00
5af409d4a5
Adjust to ObjFW changes 2017-06-21 23:04:58 +02:00
cd3d39a9c2
Modernize the code a little 2017-05-14 02:33:26 +02:00
c428df9b60
Adjust to recent ObjFW changes 2017-05-08 02:31:13 +02:00
d11fe7ad01
Fix URL in copyright headers 2017-04-15 21:37:46 +02:00
2f0fe1a5d7
Adjust to ObjFW changes 2017-01-11 00:56:09 +01:00
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
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
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
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
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
c089411ad3 Change URL in copyright to Git repository. 2012-03-20 22:45:01 +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
4852272bcf Rename initWithStruct: to initWithX509Struct: to avoid potential conflicts 2011-10-24 02:06:41 +02:00
Florian Zeitz
8a7c60fe1c Add methods enabling certificate verification 2011-10-24 01:39:48 +02:00
Jos Kuijpers
a4ab82d900 Register helpers for thread-safety with OpenSSL. 2011-10-22 18:36:08 +02:00
d8b6916fe9 Only call SSL_shutdown if we have an SSL context.
This would otherwise cause trouble for listening sockets.
2011-10-22 18:33:04 +02:00
af7fcc1aa4 Use -[pendingBytes] of the superclass if we have no SSL context.
This happens if we are a listening socket.
2011-10-22 17:46:02 +02:00