Richard Frith-Macdonald
326da37967
improve event handling when there is data in the tls buffers
2022-11-15 15:28:31 +00:00
Richard Frith-Macdonald
c76ebf2962
Replaced IF_NO_GC() macro calls with the more descriptive IF_NO_ARC()
...
and deprecate it. Searched for and removed obsolete references to
garbage collection in comments and documentation.
2022-02-17 10:08:18 +00:00
Richard Frith-Macdonald
40de7fa39a
Try to improve tls disconnect behavior where there are networking issues
2021-12-07 19:28:23 +00:00
Frederik Seiffert
0582eddd96
Export string constants and annotate exported function implementations
...
Moves scattered string constants to externs.m, and removes obsolete code replacing constant strings.
2021-03-27 17:36:15 +01:00
Richard Frith-Macdonald
b45feeb8d7
Fixes for SSL/TLS support using GNUTLS under MinGW. Use send/recv
...
rather than read/write in TLS push/pull functions (works with winsock
and unix) and perform mappings between winsock error codes and
unix/gnutls error codes so that we correctly repeat operations whe they
fail in non-blockign mode.
2021-02-13 11:08:06 +00:00
Richard Frith-Macdonald
19c32ba0f5
Enable NSFileHandle TLS support under mingw
2021-02-11 20:03:41 +00:00
Frederik Seiffert
88a2e0809f
Add NSFileHandle URL initializers.
...
Also use "instancetype" for all initializers.
2020-11-17 19:48:05 +01:00
Gregory John Casamento
753c907938
Fix address for FSF and License name in all headers in base
2019-12-09 18:36:00 -05:00
Richard Frith-Macdonald
169a5036e3
Do no accidentally discard ssl options
2019-09-21 23:00:31 +01:00
Richard Frith-Macdonald
6f3bd6ac97
Expose GNU TLS wrappers and add methods to get certificate expiry
2019-01-16 09:56:08 +00:00
Richard Frith-Macdonald
d144e29b48
Changes to updated cached server connections at five minute intervals
2019-01-03 09:58:02 +00:00
Richard Frith-MacDonald
9400f9105d
Make TLS client certificate issuer/owner names available
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40508 72102866-910b-0410-8b05-ffd578937521
2017-05-19 11:38:48 +00:00
Richard Frith-MacDonald
5b360d8a83
Remove the obsolete openssl bundle code.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39937 72102866-910b-0410-8b05-ffd578937521
2016-06-28 10:40:33 +00:00
Richard Frith-MacDonald
62d2bcbabc
changes for use of _WIN32 define on windows
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39492 72102866-910b-0410-8b05-ffd578937521
2016-03-09 13:16:16 +00:00
Richard Frith-MacDonald
87142c6535
Fix looping session startup
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@38386 72102866-910b-0410-8b05-ffd578937521
2015-03-08 09:22:11 +00:00
Richard Frith-MacDonald
b345f55779
avoid dereferencing nul pointer
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37420 72102866-910b-0410-8b05-ffd578937521
2013-11-30 08:57:20 +00:00
Richard Frith-MacDonald
fab72a3218
Try to cope with failure of remote end to respond to tls shutdown.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37417 72102866-910b-0410-8b05-ffd578937521
2013-11-27 12:26:33 +00:00
Richard Frith-MacDonald
9d0912c2f3
make sslDisconnect use blocking I/O
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37392 72102866-910b-0410-8b05-ffd578937521
2013-11-21 17:01:15 +00:00
Richard Frith-MacDonald
4803d56747
revert
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37391 72102866-910b-0410-8b05-ffd578937521
2013-11-21 16:45:01 +00:00
Richard Frith-MacDonald
12f935a8e4
Reorganise a bit to ensure that TLS is properly shut down before the network
...
connection it relies on is closed. Needed in case information is buffered
in the TLS layer and needs flushing to the remote end before shutdown.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37390 72102866-910b-0410-8b05-ffd578937521
2013-11-21 15:13:14 +00:00
Richard Frith-MacDonald
97a96d57af
fix for segfault by Saso Kiselkov
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37384 72102866-910b-0410-8b05-ffd578937521
2013-11-19 22:36:08 +00:00
Richard Frith-MacDonald
063db3e8ae
fix to build without tls support
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37139 72102866-910b-0410-8b05-ffd578937521
2013-09-23 11:46:23 +00:00
Richard Frith-MacDonald
2e99b562d8
SSL/TLS certificate enhancements.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37103 72102866-910b-0410-8b05-ffd578937521
2013-09-18 12:49:07 +00:00
Richard Frith-MacDonald
ed09c55959
leak detection improvements
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37003 72102866-910b-0410-8b05-ffd578937521
2013-08-22 15:44:54 +00:00
Richard Frith-MacDonald
ca5f252894
set into non-blocking mode
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35847 72102866-910b-0410-8b05-ffd578937521
2012-12-05 10:13:10 +00:00
Richard Frith-MacDonald
a352f3056d
tweak
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35609 72102866-910b-0410-8b05-ffd578937521
2012-09-26 17:00:26 +00:00
Richard Frith-MacDonald
73a67f4920
tweaks
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35607 72102866-910b-0410-8b05-ffd578937521
2012-09-26 16:57:17 +00:00
Richard Frith-MacDonald
db9c84ff4e
more tls reorganisation
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35605 72102866-910b-0410-8b05-ffd578937521
2012-09-26 15:23:24 +00:00
Richard Frith-MacDonald
a7171ab9be
restructure for maintainability
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35598 72102866-910b-0410-8b05-ffd578937521
2012-09-24 09:07:55 +00:00
Richard Frith-MacDonald
2539f6207c
Extend use of gnutls to older APIs so we don't need both gnutls and openssl
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35595 72102866-910b-0410-8b05-ffd578937521
2012-09-23 12:26:28 +00:00
Richard Frith-MacDonald
37f430d9d9
tidyup private api
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34029 72102866-910b-0410-8b05-ffd578937521
2011-10-19 15:25:38 +00:00
Richard Frith-MacDonald
3569303331
documentation cleanups
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34015 72102866-910b-0410-8b05-ffd578937521
2011-10-17 10:59:02 +00:00
Richard Frith-MacDonald
497cb2af93
ssh handshake improvements and consmetic tweaks
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33535 72102866-910b-0410-8b05-ffd578937521
2011-07-12 11:40:15 +00:00
Richard Frith-MacDonald
27550994ee
use the _() macro for localisation within base
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32173 72102866-910b-0410-8b05-ffd578937521
2011-02-15 06:25:54 +00:00
Richard Frith-MacDonald
7cc69dfaae
Simplify header inclusion
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29669 72102866-910b-0410-8b05-ffd578937521
2010-02-19 08:12:46 +00:00
Richard Frith-MacDonald
21d597e740
merge back reorganisation branch
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29615 72102866-910b-0410-8b05-ffd578937521
2010-02-14 10:48:10 +00:00
Richard Frith-MacDonald
2e24f46790
Clarify docs a little
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@27019 72102866-910b-0410-8b05-ffd578937521
2008-11-09 10:11:18 +00:00
Richard Frith-MacDonald
b2b14398d2
allow developers more time to adapt to LGPLv3
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@26606 72102866-910b-0410-8b05-ffd578937521
2008-06-08 10:38:33 +00:00
Richard Frith-MacDonald
62559023b9
Update to GPL3 and LGPL3
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@25482 72102866-910b-0410-8b05-ffd578937521
2007-09-14 11:36:11 +00:00
Nicola Pero
2862e46497
Install SSL.bundle into versioned library directory so that you can have multiple gnustep-base installed, each with its own SSL bundle
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@24889 72102866-910b-0410-8b05-ffd578937521
2007-03-17 16:56:23 +00:00
Richard Frith-MacDonald
0ebe68ae48
More code tidyups and NSError updates.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@23921 72102866-910b-0410-8b05-ffd578937521
2006-10-20 10:56:27 +00:00
Richard Frith-MacDonald
0bd39b2bd4
Tweak comments for error in documentation
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@23866 72102866-910b-0410-8b05-ffd578937521
2006-10-13 19:10:56 +00:00
Richard Frith-Macdonald
fa19407f5a
Documentation tweaks
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22112 72102866-910b-0410-8b05-ffd578937521
2005-11-28 15:41:35 +00:00
Richard Frith-Macdonald
c9c6734169
Spelling fixes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21962 72102866-910b-0410-8b05-ffd578937521
2005-11-06 13:53:40 +00:00
Adam Fedor
fcc13ccd0f
* Update FSF Address.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21245 72102866-910b-0410-8b05-ffd578937521
2005-05-22 03:32:16 +00:00
Richard Frith-Macdonald
db7b22a4fb
Tidy up use of white space so we have it after if/for/while and not after (
...
or before ) or padding at end of line.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20773 72102866-910b-0410-8b05-ffd578937521
2005-02-22 11:22:44 +00:00
Richard Frith-Macdonald
284ce516b8
A couple of methods added for consistency.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19880 72102866-910b-0410-8b05-ffd578937521
2004-08-18 10:12:13 +00:00
Adrian Robert
bda35fceb3
added GSdoc comments to class, method, and function declarations; for some classes some comments were already in the source file (not the header), in which case further comments were added here; otherwise comments were put in the headers
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19588 72102866-910b-0410-8b05-ffd578937521
2004-06-22 22:40:40 +00:00
Richard Frith-Macdonald
8bb1aeb737
Support outgoing connections bound to a specific local address.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18953 72102866-910b-0410-8b05-ffd578937521
2004-03-29 14:53:37 +00:00
Richard Frith-Macdonald
4d1f1825c1
Add support for server side ssl connections.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18055 72102866-910b-0410-8b05-ffd578937521
2003-11-05 18:26:09 +00:00