mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 09:04:13 +00:00
TLS tweak in last change
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39460 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
4f8626830e
commit
86e8a7b27d
1 changed files with 5 additions and 0 deletions
|
@ -2723,6 +2723,11 @@ setNonBlocking(SOCKET fd)
|
|||
[outs setProperty: str forKey: key];
|
||||
}
|
||||
|
||||
/* Set the streams to be 'open' in order to have the TLS
|
||||
* handshake done. On completion the state will be reset.
|
||||
*/
|
||||
[ins _setStatus: NSStreamStatusOpen];
|
||||
[outs _setStatus: NSStreamStatusOpen];
|
||||
[GSTLSHandler tryInput: (GSSocketInputStream *)ins
|
||||
output: (GSSocketOutputStream *)outs];
|
||||
DESTROY(opts);
|
||||
|
|
Loading…
Reference in a new issue