ObjFW  Check-in [684233314d]

Overview
Comment:Make -[startTLSWithExpectedHost:] accept nil
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 684233314dc1a60cd3dea8f4aec60ced18bc3385cb539736230c4c6125e27e9c
User & Date: js on 2015-11-21 19:15:01
Other Links: manifest | tags
Context
2015-11-21
20:13
Fewer configure checks if posix_spawn is available check-in: 595f1eccb2 user: js tags: trunk
19:15
Make -[startTLSWithExpectedHost:] accept nil check-in: 684233314d user: js tags: trunk
18:35
Remove OF_NULLABLE / OF_NONNULL check-in: d526d938d7 user: js tags: trunk
Changes

Modified src/OFTLSSocket.h from [d1223f2527] to [d16d0183c5].

78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
 *
 * @note This is only useful if you used @ref initWithSocket: to start TLS on
 *	 a TCP socket which is already connected!
 *
 * @param host The host to expect for certificate verification.
 *	       May be nil if certificate verification is disabled.
 */
- (void)startTLSWithExpectedHost: (OFString*)host;

/*!
 * @brief Sets a delegate for the TLS socket.
 *
 * @param delegate The delegate to use
 */
- (void)setDelegate: (nullable id <OFTLSSocketDelegate>)delegate;







|







78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
 *
 * @note This is only useful if you used @ref initWithSocket: to start TLS on
 *	 a TCP socket which is already connected!
 *
 * @param host The host to expect for certificate verification.
 *	       May be nil if certificate verification is disabled.
 */
- (void)startTLSWithExpectedHost: (nullable OFString*)host;

/*!
 * @brief Sets a delegate for the TLS socket.
 *
 * @param delegate The delegate to use
 */
- (void)setDelegate: (nullable id <OFTLSSocketDelegate>)delegate;