ObjFW  Check-in [d3a4cda21a]

Overview
Comment:OFTLSSocketDelegate: Inherit OFTCPSocketDelegate
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: d3a4cda21abe45e60267f17b8f524e282c06d69095c9be00515110411b70a2e9
User & Date: js on 2018-12-08 17:05:48
Other Links: manifest | tags
Context
2018-12-08
18:55
OFUDPSocket: Use a delegate for async operations check-in: da2dd2dde5 user: js tags: trunk
17:05
OFTLSSocketDelegate: Inherit OFTCPSocketDelegate check-in: d3a4cda21a user: js tags: trunk
16:53
Separate error methods for async method delegates check-in: 2b6a12065e user: js tags: trunk
Changes

Modified src/OFTLSSocket.h from [d8643617ce] to [f1fcb70df5].

24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
@protocol OFTLSSocket;

/*!
 * @protocol OFTLSSocketDelegate OFTLSSocket.h ObjFW/OFTLSSocket.h
 *
 * @brief A delegate for classes implementing the OFTLSSocket protocol.
 */
@protocol OFTLSSocketDelegate
@optional
/*!
 * @brief This callback is called when the TLS socket wants to know if it
 *	  should accept the received certificate.
 *
 * @note This is only used to verify certain fields of a certificate to allow
 *	 for protocol specific verification. The certificate chain is verified







|







24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
@protocol OFTLSSocket;

/*!
 * @protocol OFTLSSocketDelegate OFTLSSocket.h ObjFW/OFTLSSocket.h
 *
 * @brief A delegate for classes implementing the OFTLSSocket protocol.
 */
@protocol OFTLSSocketDelegate <OFTCPSocketDelegate>
@optional
/*!
 * @brief This callback is called when the TLS socket wants to know if it
 *	  should accept the received certificate.
 *
 * @note This is only used to verify certain fields of a certificate to allow
 *	 for protocol specific verification. The certificate chain is verified