ObjOpenSSL  Check-in [704eff4870]

Overview
Comment:Use -[pendingBytes] of the superclass if we have no SSL context.
This happens if we are a listening socket.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 704eff4870707fe5ee9110346f6cfb9676c7144bc4db75df776d5fd2f6b40321
User & Date: js on 2011-10-22 15:46:02
Other Links: manifest | tags
Context
2011-10-22
16:33
Only call SSL_shutdown if we have an SSL context.
This would otherwise cause trouble for listening sockets.
check-in: 5695c6cedc user: js tags: trunk
15:46
Use -[pendingBytes] of the superclass if we have no SSL context.
This happens if we are a listening socket.
check-in: 704eff4870 user: js tags: trunk
2011-10-08
03:44
Add support for fetching some SAN types from X509 certificates check-in: ca9555b85f user: florob@babelmonkeys.de tags: trunk
Changes

Modified src/SSLSocket.m from [8ff2f21b32] to [4d5d5d3a67].

255
256
257
258
259
260
261



262
263
264
265
266
267
268
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271







+
+
+







		@throw [OFWriteFailedException exceptionWithClass: isa
							   stream: self
						  requestedLength: length];
}

- (size_t)pendingBytes
{
	if (ssl == NULL)
		return [super pendingBytes];

	return [super pendingBytes] + SSL_pending(ssl);
}

- (void)setPrivateKeyFile: (OFString*)file
{
	OF_SETTER(privateKeyFile, file, YES, YES)
}