Index: src/OFTLSSocket.h ================================================================== --- src/OFTLSSocket.h +++ src/OFTLSSocket.h @@ -26,11 +26,11 @@ /*! * @protocol OFTLSSocketDelegate OFTLSSocket.h ObjFW/OFTLSSocket.h * * @brief A delegate for classes implementing the OFTLSSocket protocol. */ -@protocol OFTLSSocketDelegate +@protocol OFTLSSocketDelegate @optional /*! * @brief This callback is called when the TLS socket wants to know if it * should accept the received certificate. *