ObjFW  Check-in [c765e8d058]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:OFOpenSSLTLSStream: Make compatible with LibreSSL
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: c765e8d0587df39e04a11553b54e47ff07b89f9591bd89315573da9f77cc5830
User & Date: js 2022-07-16 18:38:34.139
Context
2022-07-17
13:57
OFDNSResolverSettings: Use HOST_NAME_MAX check-in: 591d1c6c2b user: js tags: trunk
2022-07-16
18:38
OFOpenSSLTLSStream: Make compatible with LibreSSL check-in: c765e8d058 user: js tags: trunk
2022-07-14
15:15
utils/ofhttp: Improve Unicode detection on Windows check-in: 0c7c78f397 user: js tags: trunk
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/tls/OFOpenSSLTLSStream.m.
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
	}

	return bytesWritten;
}

- (bool)hasDataInReadBuffer
{
	if (SSL_has_pending(_SSL) || BIO_ctrl_pending(_readBIO) > 0)
		return true;

	return super.hasDataInReadBuffer;
}

- (void)asyncPerformClientHandshakeWithHost: (OFString *)host
				runLoopMode: (OFRunLoopMode)runLoopMode







|







188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
	}

	return bytesWritten;
}

- (bool)hasDataInReadBuffer
{
	if (SSL_pending(_SSL) > 0 || BIO_ctrl_pending(_readBIO) > 0)
		return true;

	return super.hasDataInReadBuffer;
}

- (void)asyncPerformClientHandshakeWithHost: (OFString *)host
				runLoopMode: (OFRunLoopMode)runLoopMode