ObjFW  Diff

Differences From Artifact [b63cbb4514]:

  • File src/tls/OFOpenSSLTLSStream.m — part of check-in [7413a728a7] at 2024-04-03 02:16:03 on branch trunk — Change license to LGPLv3 only (user: js size: 10910) [more...]

To Artifact [ca917e4347]:

  • File src/tls/OFOpenSSLTLSStream.m — part of check-in [7d1275cb49] at 2024-10-27 18:38:35 on branch trunk — Remove nullable in .m files (user: js size: 10901)

318
319
320
321
322
323
324
325
326
327
328
329
330
331
332

	objc_autoreleasePoolPop(pool);
}

-      (bool)stream: (OFStream *)stream
  didReadIntoBuffer: (void *)buffer
	     length: (size_t)length
	  exception: (nullable id)exception
{
	if (exception == nil) {
		static const OFTLSStreamErrorCode unknownErrorCode =
		    OFTLSStreamErrorCodeUnknown;
		int status;

		OFEnsure(length <= INT_MAX);







|







318
319
320
321
322
323
324
325
326
327
328
329
330
331
332

	objc_autoreleasePoolPop(pool);
}

-      (bool)stream: (OFStream *)stream
  didReadIntoBuffer: (void *)buffer
	     length: (size_t)length
	  exception: (id)exception
{
	if (exception == nil) {
		static const OFTLSStreamErrorCode unknownErrorCode =
		    OFTLSStreamErrorCodeUnknown;
		int status;

		OFEnsure(length <= INT_MAX);