Differences From Artifact [3aca96c73c]:
- File src/SSLSocket.m — part of check-in [ce85c1fa59] at 2011-03-28 22:23:32 on branch trunk — Implement setting the private key and certificate. (user: js, size: 4930) [annotate] [blame] [check-ins using]
To Artifact [cc0f0dbfcb]:
- File src/SSLSocket.m — part of check-in [ba8d67c63c] at 2011-04-03 19:53:14 on branch trunk — Add the number of bytes returned by SSL_pending to -[pendingBytes]. (user: js, size: 5007) [annotate] [blame] [check-ins using]
︙ | |||
220 221 222 223 224 225 226 227 228 229 230 231 232 233 | 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 | + + + + + | if ((ret = SSL_write(ssl, buf, (int)size)) < 1) @throw [OFWriteFailedException newWithClass: isa stream: self requestedSize: size]; return ret; } - (size_t)pendingBytes { return [super pendingBytes] + SSL_pending(ssl); } - (void)setPrivateKeyFile: (OFString*)file { OFString *old = privateKeyFile; privateKeyFile = [file copy]; [old release]; } |
︙ |