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: |
5e9b338c384019931a8decf20f80288e |
User & Date: | js on 2015-05-07 21:29:53 |
Other Links: | manifest | tags |
Context
2015-05-07
| ||
21:33 | Update config.guess, config.sub and install-sh check-in: 3dfd66b64f user: js tags: trunk | |
21:29 | Adjust to ObjFW changes check-in: 5e9b338c38 user: js tags: trunk | |
21:27 | Update buildsys check-in: 7c83229ba2 user: js tags: trunk | |
Changes
Modified src/SSLSocket.m from [50ced396e8] to [0f120f580c].
︙ | ︙ | |||
35 36 37 38 39 40 41 | #import <ObjFW/OFDataArray.h> #import <ObjFW/OFSystemInfo.h> #import <ObjFW/OFAcceptFailedException.h> #import <ObjFW/OFConnectionFailedException.h> #import <ObjFW/OFInitializationFailedException.h> #import <ObjFW/OFInvalidArgumentException.h> | | | 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 | #import <ObjFW/OFDataArray.h> #import <ObjFW/OFSystemInfo.h> #import <ObjFW/OFAcceptFailedException.h> #import <ObjFW/OFConnectionFailedException.h> #import <ObjFW/OFInitializationFailedException.h> #import <ObjFW/OFInvalidArgumentException.h> #import <ObjFW/OFNotOpenException.h> #import <ObjFW/OFOutOfRangeException.h> #import <ObjFW/OFReadFailedException.h> #import <ObjFW/OFWriteFailedException.h> #import <ObjFW/macros.h> #import <ObjFW/threading.h> |
︙ | ︙ | |||
229 230 231 232 233 234 235 | { ssize_t ret; if (length > INT_MAX) @throw [OFOutOfRangeException exception]; if (_socket == INVALID_SOCKET) | | | 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 | { ssize_t ret; if (length > INT_MAX) @throw [OFOutOfRangeException exception]; if (_socket == INVALID_SOCKET) @throw [OFNotOpenException exceptionWithObject: self]; if (_atEndOfStream) @throw [OFReadFailedException exceptionWithObject: self requestedLength: length errNo: ENOTCONN]; if ((ret = SSL_read(_SSL, buffer, (int)length)) < 0) { |
︙ | ︙ | |||
257 258 259 260 261 262 263 | - (void)lowlevelWriteBuffer: (const void*)buffer length: (size_t)length { if (length > INT_MAX) @throw [OFOutOfRangeException exception]; if (_socket == INVALID_SOCKET) | | | 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 | - (void)lowlevelWriteBuffer: (const void*)buffer length: (size_t)length { if (length > INT_MAX) @throw [OFOutOfRangeException exception]; if (_socket == INVALID_SOCKET) @throw [OFNotOpenException exceptionWithObject: self]; if (_atEndOfStream) @throw [OFWriteFailedException exceptionWithObject: self requestedLength: length errNo: ENOTCONN]; if (SSL_write(_SSL, buffer, (int)length) < length) |
︙ | ︙ |