ObjFW  Check-in [6a2cac23e8]

Overview
Comment:Revert change to OFSecureTransportTLSStream

OFSecureTransportTLSStream doesn't use _handshakeDone, unlike the other
implementations.

Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 6a2cac23e8ad02de9b5c966da2a86c9b8791825b391ee998c83fc825988c0937
User & Date: js on 2024-01-06 01:08:11
Other Links: manifest | tags
Context
2024-01-06
15:36
OFDNSResolver: Use correct run loop mode for cache check-in: c13f9f78f1 user: js tags: trunk
01:08
Revert change to OFSecureTransportTLSStream check-in: 6a2cac23e8 user: js tags: trunk
01:00
Fix compilation of OFOpenSSLTLSStream check-in: 64d9603a4f user: js tags: trunk
Changes

Modified src/tls/OFSecureTransportTLSStream.m from [1e41cb22bf] to [b218de48f5].

123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
	SSLClose(_context);
#ifdef HAVE_SSLCREATECONTEXT
	CFRelease(_context);
#else
	SSLDisposeContext(_context);
#endif
	_context = NULL;
	_handshakeDone = false;

	[super close];
}

- (size_t)lowlevelReadIntoBuffer: (void *)buffer length: (size_t)length
{
	OSStatus status;







<







123
124
125
126
127
128
129

130
131
132
133
134
135
136
	SSLClose(_context);
#ifdef HAVE_SSLCREATECONTEXT
	CFRelease(_context);
#else
	SSLDisposeContext(_context);
#endif
	_context = NULL;


	[super close];
}

- (size_t)lowlevelReadIntoBuffer: (void *)buffer length: (size_t)length
{
	OSStatus status;