ObjFW  Diff

Differences From Artifact [882cb079a6]:

To Artifact [975f02bdfb]:


24
25
26
27
28
29
30


31
32
33
34
35
36
37
38
39
 * \brief A delegate for classes implementing the OFTLSSocket protocol.
 */
@protocol OFTLSSocketDelegate
/**
 * \brief This callback is called when the TLS socket wants to know if it
 *	  should accept the received keychain.
 *


 * \param certificate An array of objects implementing the OFX509Certificate
 *		      protocol
 * \return Whether the TLS socket should accept the received keychain
 */
-	  (BOOL)socket: (id <OFTLSSocket>)socket
  shouldAcceptKeychain: (OFArray*)keychain;
@end

/**







>
>
|
|







24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
 * \brief A delegate for classes implementing the OFTLSSocket protocol.
 */
@protocol OFTLSSocketDelegate
/**
 * \brief This callback is called when the TLS socket wants to know if it
 *	  should accept the received keychain.
 *
 * \param socket The socket which wants to know if it should accept the received
 *		 keychain
 * \param keychain An array of objects implementing the OFX509Certificate
 *		   protocol
 * \return Whether the TLS socket should accept the received keychain
 */
-	  (BOOL)socket: (id <OFTLSSocket>)socket
  shouldAcceptKeychain: (OFArray*)keychain;
@end

/**