Overview
Comment: | Adjust to ObjFW changes |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
b351c96f35193244af7acb6e84fc30c9 |
User & Date: | js on 2017-10-01 20:13:54 |
Other Links: | manifest | tags |
Context
2017-12-28
| ||
01:04 | Update buildsys check-in: f19bee8289 user: js tags: trunk | |
2017-10-01
| ||
20:13 | Adjust to ObjFW changes check-in: b351c96f35 user: js tags: trunk | |
2017-08-01
| ||
19:14 | Only check if SSL_OP_NO_SSLv2 is set if it is != 0 check-in: 481d9ee374 user: js tags: trunk | |
Changes
Modified src/SSLSocket.m from [db77c4ed01] to [bc1f35e528].
︙ | ︙ | |||
354 355 356 357 358 359 360 | if (ret == 0) _atEndOfStream = true; return ret; } | | | < < < | < | 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 | if (ret == 0) _atEndOfStream = true; return ret; } - (size_t)lowlevelWriteBuffer: (const void *)buffer length: (size_t)length { int bytesWritten; if (_socket == INVALID_SOCKET) @throw [OFNotOpenException exceptionWithObject: self]; if (length > INT_MAX) @throw [OFOutOfRangeException exception]; if ((bytesWritten = SSL_write(_SSL, buffer, (int)length)) < 0) @throw [OFWriteFailedException exceptionWithObject: self requestedLength: length bytesWritten: 0 errNo: 0]; return bytesWritten; } - (bool)hasDataInReadBuffer { if (_SSL != NULL && SSL_pending(_SSL) > 0) return true; |
︙ | ︙ |