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
033f679146
.hgignore -> .gitignore
2012-03-19 23:14:51 +01:00
d86f2bfc3c
Make it possible to use a different objfw-config/objfw-compile.
2012-02-05 16:08:13 +01:00
42edf3f195
Fix properties in exceptions.
2012-02-01 14:50:00 +01:00
53303b905c
Clean up Xcode project.
2012-01-26 13:26:07 +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
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
Florian Zeitz
6ed58f5e6e
Add support for fetching some SAN types from X509 certificates
...
Note: valgrind complains about uninitialized data when UTF8Strings are passed to
ASN1_STRING_to_UTF8(), however the result is fine. Accessing the same data by
other means does not yield the error, I therefore suspect it a false positive.
2011-10-08 05:44:36 +02:00
Florian Zeitz
cf45a92e0b
Break out some ASN.1 to OFString conversion functionality
2011-10-08 01:56:55 +02:00
Florian Zeitz
c804feb98b
Very basic X509 class
2011-10-08 01:13:14 +02:00
Florian Zeitz
58d01946d9
Fix copyright
2011-10-07 03:15:00 +02:00
250d2452dd
Adjust to recent ObjFW changes.
2011-09-23 01:28:48 +02:00
0972f8ee36
Fix type conflict.
2011-09-22 15:52:17 +02:00
02fc41d7ae
Adjust to recent ObjFW changes.
2011-09-19 18:37:49 +02:00
2152c84f3a
Update to recent ObjFW changes.
2011-09-12 22:05:19 +02:00
59a56bca2a
Correctly check return value of SSL_write.
2011-09-11 04:07:08 +02:00
0185f9bc7b
Fix forgotten change.
2011-09-11 04:03:48 +02:00
527e49fc21
Ignore deprecation warnings as OpenSSL is deprecated as a whole on OS X.
2011-09-10 22:41:45 +02:00
Florian Zeitz
ace7324c7f
Support for getting channel binding data
2011-09-09 20:01:44 +02:00
2c6ef4d969
Use certificate / key in client mode if set.
2011-06-13 18:14:19 +02:00
1137a93d7a
Add copyright and license.
2011-06-08 23:24:36 +02:00
d7c5829f45
Add .hgignore.
2011-06-08 23:23:21 +02:00